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
But I need to use VBA Method ASCIIExport to export some other 1D-results and a similar code doesn't work
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');
Code:
cst5 = actxserver('MWStudio.ASCIIExport');
I would ike to do the same thing.
Do you resolve your pbs ?
you must refer to cst scripting