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,
댓글 수: 0
답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!