Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Problem converting program including GUI into an exe

2 vues (au cours des 30 derniers jours)
Simon
Simon le 14 Mar 2014
Clôturé : MATLAB Answer Bot le 20 Août 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?

Réponses (1)

Vignesh Rangaishenvi
Vignesh Rangaishenvi le 17 Juin 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 commentaires
Simon
Simon le 17 Juin 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 le 17 Juin 2014
Also dependencies are included automatically

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by