MATLAB Answers

Compile multiple GUIs into stand-alone app

10 views (last 30 days)
Fuad Numan
Fuad Numan on 7 Jun 2017
Edited: Adam on 7 Jun 2017
I am trying to create a standalone applications from multiple GUIs, I have "main" GUI, which includes some buttons to call another sub GUIs (*.fig), I tried the MATLAB compiler and added the list of required files for the application to run. Unfortunately, when I try to open the created "exe" file, the program stuck in the background. sometimes the "main" GUI will work fine but the buttons that supposed to open the sub GUIs are not functioning.
Any help in this issue would be highly appreciated.

  1 Comment

Adam on 7 Jun 2017
Take a look at the log file when you run it to see what the error is. If you don't have a log file make sure you tell it to create one when you compile.
The dependency checker should pick up GUI files fine if they are launched in a standard way (i.e. not via str2fun or some other string-based method). Dependencies of those GUIs should then also be picked up.

Sign in to comment.

Answers (0)

Translated by