필터 지우기
필터 지우기

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 CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by