MATLAB Answers

Murugan C

How can we Systematically pause Simulink model and update the variable and continue model from Matlab command line

Murugan C
さんによって質問されました 2019 年 5 月 5 日
最新アクティビティ Murugan C
さんによって 編集されました 2019 年 5 月 5 日
Hi Guys,
I have few querys , how can we update the variable during simulaton time. Here I have created simple model. Parameters "CtrlDwnValue" and "CtrlLftValue" are loaded into Matlab Wokspace. In this model, "CtrlDwnValue" is tunable parameter during runtime.
For Ex,
"CtrlDwnValue" is .29 upto T is 0.25 sec. which is represented in Fig-1., When T is 0.26 "CtrlDwnValue" is 0.35 which is represented in Fig-2.
Here I did manually paused the simulationa and changed this "CtrlDwnValue" parameter.
I wrote scipt to do above exampe, but i couldn;t able to succeed. Can any one help me how to do it?
Thanks in Advance !!!

  0 件のコメント

サインイン to comment.

0 件の回答

Translated by