How do I control the parameter sweep in CST using Matlab?
Show older comments
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,
Answers (1)
Zaed Abdulwali
on 29 Nov 2020
0 votes
Do you get the results, please?
I am interested in this work.
Categories
Find more on MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!