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

조회 수: 12 (최근 30일)
Nova Resfita
Nova Resfita 2015년 7월 28일
답변: Zaed Abdulwali 2020년 11월 29일
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