Create an application on Matlab

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