Hi, I'm working in image processing with Matlab and I want to create a .exe or an application from my .m code.
I tried using Matlab compiler, and creating a standalone application, but all the messages i ask for on screen to request information are not shown in the .exe file.
Is there any other way to make these messages display on screen?.
Thank you.

댓글 수: 4

Rik
Rik 2021년 6월 18일
Are you using the input function to ask your user for input? You might want to consider removing all interactions with the command window with GUI elements.
Guillermo Arias
Guillermo Arias 2021년 6월 18일
Hi, yes, I'm using input function to ask for data. For example:
e=input('Enter the thickness of the test piece: ')
When I run the code in Matlab the message is displayed but when I create the standalone application that message is not displayed.
Rik
Rik 2021년 6월 18일
Where would you expect that to be displayed? Do you expect a command line interface to open up alongside your GUI? Why not use an input field and a button?
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread.
Guillermo Arias
Guillermo Arias 2021년 6월 19일
Okey thank you very much, what I expected is that the .exe program would display the message in the same moment that the .m file. I think I'm going to try to create a GUI, thanks again.

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

답변 (0개)

제품

릴리스

R2020b

질문:

2021년 6월 18일

댓글:

2021년 6월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by