微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 电磁仿真讨论 > problem with running a cst macro with matlab

problem with running a cst macro with matlab

时间:03-30 整理:3721RD 点击:
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?

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top