FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 FastFieldSolvers
 FastHenry2
 old new Matlab Automation Problem

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Antispam question: What do MOONwalk and MOONdance have in common?
Answer:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON

 
   

T O P I C    R E V I E W
eactor Posted - Sep 09 2010 : 21:50:52
Hello,
I since a lot of people have asked for Matlab Automation: i figured it out and it was kind of weired why handle.Run() didn't work. But the good news is invoke works fine.

path_to_input='C:\Programme\Fastfieldsolvers\Fasthenry2\Samples\Automation\Office\';
ax=actxserver('FastHenry2.Document');
ax.invoke('Run',['"' path_to_input 'coils1.inp"']);
while(ax.invoke('IsRunning'))
    pause(0.1);
end
ax.invoke('GetInductance')
ax.invoke('Quit');
ax=[];


have fun with it, it to me quite forever to find it out.

eactor
2   L A T E S T    R E P L I E S    (Newest First)
chromatik Posted - Sep 13 2010 : 14:35:52
Thanks eactor !
It might be useful for me :)

Regards
eactor Posted - Sep 09 2010 : 21:53:16
sry you have to change Programme in Progam Files, other wise it probably only works on German Windows Version.

FastFieldSolvers Forum © 2020 FastFieldSolvers S.R.L. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06