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 Comments

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.
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.
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.
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.

Sign in to comment.

Answers (0)

Products

Release

R2020b

Asked:

on 18 Jun 2021

Commented:

on 19 Jun 2021

Community Treasure Hunt

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

Start Hunting!