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

cst matlab

时间:03-24 整理:3721RD 点击:
Has anybody experience with a link from CST Microwave Studio 5 to Matlab??

I try to automatically run the simulation and export results from CST.

By this time I can open file, change variables, run simulation and export results in Touchstone file
Code:
cst = actxserver('CSTStudio.Application');
cst.invoke('OpenFile','C:\\GA\\Test2\\test.mod');
cst.invoke('StoreDoubleParameter','L','45');

cst2 = actxserver('MWStudio.Solver');
cst2.invoke('Start');

cst3 = actxserver('MWStudio.TOUCHSTONE');
cst3.invoke('Reset');
cst3.invoke('FileName','c:\\results2');
cst3.invoke('Impedance','500');
cst3.invoke('Renormalize','True');
cst3.invoke('SetNSamples','20');
cst3.invoke('Write');
But I need to use VBA Method ASCIIExport to export some other 1D-results and a similar code doesn't work
Code:
cst5 = actxserver('MWStudio.ASCIIExport');

I would ike to do the same thing.

Do you resolve your pbs ?

you must refer to cst scripting

上一篇:Help: EMI from PCB + HFSS
下一篇:最后一页

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

网站地图

Top