Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Creating GUI for Step Signal Block

조회 수: 1 (최근 30일)
Teo Samuel
Teo Samuel 2012년 2월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi,
Is it possible to create a GUI that is able to set the final values for two step signal blocks?
If the answer is yes, then can I know how to do it and what are the essential steps to start?
Please help. Thank you very much.
Regards

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2012년 2월 24일
You can follow the documentation on creating GUIs in MATLAB.
Once you have done that, all you need to do is program the appropriate callback to run the set_param command on the two blocks. The command should be something like this:
set_param('modelname/path/to/block', 'After', '99')
Where 99 is the value you want to set for Final Value.

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by