[SOLVED] problem with running a cst macro with matlab

Status
Not open for further replies.

thorin

Newbie level 2
Joined
Jun 1, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
Hi all

I have written a Matlab function to start a global macro 'single_ports' on a cst disign project. Basically it looks like this:

oCSTApp = actxserver('CSTStudio.Application');
oMWSProject = invoke(oCSTApp,'OpenFile',projectname);
invoke(oMWSProject,'RunMacro','single_ports');

Matlab throws that there's a internal error in CST right after invoking 'RunMacro'. But it's tough to examine since the macro will run pretty fine if I start it within CST.
Has anybody any idea?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…