How do I control the parameter sweep in CST using Matlab?

12 次查看(过去 30 天)
I'm working on my thesis now by using CST and Matlab. I have to set frequency sweep in CST and control it by using matlab. The simulation for CST is done in matlab. I have tried searching the way to do it but I can't find any. Does anybody can help me out of this problem? These are the codes I got for 1 frequency, but I don't know how to write into more than 1 frequencies. I'm not that familiar with Matlab.
%%set simulation frequency
backgroundDistance = '200';
frequencyUnit = 'KHz';
frequency = ones(numberOfElectrodes,1).*100; %f = 1000*frequency
if frequency(i) ~= ems.invoke('RestoreDoubleParameter','f')
ems.invoke('StoreParameter','f',num2str(frequency(i)));
ems.invoke('RebuildOnParametricChange','true','true');
init_settings(ems, backgroundDistance, frequencyUnit, innerElectrodes);
end
Thank you very much,

回答(1 个)

Zaed Abdulwali
Zaed Abdulwali 2020-11-29
Do you get the results, please?
I am interested in this work.

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by