Is it possible to implement a GUI in a Matlab script?

조회 수: 3 (최근 30일)
Fabio
Fabio 2023년 2월 2일
댓글: Fabio 2023년 2월 2일
Hi. Is it possible to create a GUI in a Matlab script instead of using a command line to send inputs? Is there a specific application in MathWorks or is it included in Matlab? Could you briefly explain me the basic requirements? Thank you very much.

채택된 답변

Rik
Rik 2023년 2월 2일
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
It will show you different ways to create a GUI with Matlab. You could put all that in a script, but I would strongly recommend using functions instead. Even if not talking about GUIs I hold the opinion that a script is only for debugging/designing something. As soon as you spend serious time on something and/or are planning to keep it for more than a week or so, you should consider functions instead.
  댓글 수: 1
Fabio
Fabio 2023년 2월 2일
I will take a look of this thread. Thank you very much for your help and your tips!
Regards.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Walter Roberson
Walter Roberson 2023년 2월 2일
see "App Designer" for a more modern interface, or see "GUIDE" for an older interface (that has much better performance)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by