フィルターのクリア

how to change a simulink block diagram to GUI?

1 回表示 (過去 30 日間)
Muhammad Azfar Abdullah Pani
Muhammad Azfar Abdullah Pani 2017 年 11 月 10 日
コメント済み: Birdman 2017 年 11 月 10 日
i want to change this simulink model directly to GUI, where i can play with the PID, Step and Control signal input and to see the result of scope.
  2 件のコメント
Birdman
Birdman 2017 年 11 月 10 日
What do you mean by change to GUI?
Muhammad Azfar Abdullah Pani
Muhammad Azfar Abdullah Pani 2017 年 11 月 10 日
i mean to create GUI which have same function as the simulink so instead of click the block such as scope we can just press a button to see the graph... is there a note somewhere? direct change block function to a button?

サインインしてコメントする。

採用された回答

Birdman
Birdman 2017 年 11 月 10 日
I gathered all the blocks within a subsystem and created a mask from it. If you double click the subsystem, you will see the parameters tunable when the simulation is running. When you make a change during simulation, click Apply button. To open the scope, click Open Scope button. Hope this is what you want.
  2 件のコメント
Muhammad Azfar Abdullah Pani
Muhammad Azfar Abdullah Pani 2017 年 11 月 10 日
how to code the scope or the step into the button?
Birdman
Birdman 2017 年 11 月 10 日
To code scope, write
open_system('your model name/Scope');
To code step
step(sys);

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by