cst matlab
來源:edatop
更新時(shí)間:2024-08-23
閱讀:
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');
Code:
cst5 = actxserver('MWStudio.ASCIIExport');
I would ike to do the same thing.
Do you resolve your pbs ?
you must refer to cst scripting