Run several simulations and change model parameters automatically

조회 수: 1 (최근 30일)
Geo
Geo 2014년 2월 1일
답변: Shivaputra Narke 2014년 2월 1일
Hello, I want to run a simulink model consecutively and change a block's parameters automatically. In order to do this I use a script according to the example http://www.mathworks.com/videos/running-multiple-simulink-simulations-in-parallel-68946.html. In particular, I try to define the Three-Phase Programmable Voltage Source block's parameters using the set_param command, but I get a warning like that:
'Overriding parameters of Three-Phase Programmable Voltage Source1/Model/Discrete/Signal generator/Variation SubSystem which is inside a library link. These changes can be changed, propagated, or viewed using the 'Link Options' menu item'
What would be a solution or some other way to run the model consecutively and modify the block's parameters instead of setting the parameters manually and pressing the start button to start the simulation?
Thank you in advance.

답변 (1개)

Shivaputra Narke
Shivaputra Narke 2014년 2월 1일
Try to unlock the library and modify your required block then lock the library again. You can do it in your script.

카테고리

Help CenterFile Exchange에서 Electrical Block Libraries에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by