Info

This question is closed. Reopen it to edit or answer.

Problem converting program including GUI into an exe

2 views (last 30 days)
Simon
Simon on 14 Mar 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
Hi all I have a program set up with numerous functions etc, all called from a gui. I am attempting to convert said gui into an exe. im using the standard matlab deployment tool, and I have added the gui.m as the main file, and the gui.fig as a helper file.
However when I compile it, no gui opens when the program is run. I know that program is running, because I can see it in the processes section in task manager, but no gui.
Could it possibly be to do with using the computer vision system toolbox, and if so, how do i get around this? As far as I know it allows itself to be compiled. If not, what else could be causing it?

Answers (1)

Vignesh Rangaishenvi
Vignesh Rangaishenvi on 17 Jun 2014
It looks like the main gui.m file has some dependencies on other functions which could be the root cause of the issue. Try including the functions as helper files and execute the compiled application.
  2 Comments
Simon
Simon on 17 Jun 2014
Nah. Turned out it was working, but having the computer vision Software included seems to make the GUI take forever to open (like 10 mintes) when the .exe is clicked on
Simon
Simon on 17 Jun 2014
Also dependencies are included automatically

Community Treasure Hunt

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

Start Hunting!