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

12 Ansichten (letzte 30 Tage)
Nova Resfita
Nova Resfita am 28 Jul. 2015
Beantwortet: Zaed Abdulwali am 29 Nov. 2020
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,

Antworten (1)

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

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by