How to run a GUI as an application

3 views (last 30 days)
Alessandro Russo
Alessandro Russo on 2 Apr 2016
Hi all, i have a GUI which does some instructions for a university project, i should give a lot of files and .m functions to my professor, and i would like at least to "pack" the execution in a single icon or file, which starts the GUI. What can i do? I saw the deploytool which should create an exe, but because i must compile a mex file in one of the instructions (which at the beginning is an empty file and will be compiled later), the deploy tool gives an error and doesn't create the exe; so i think i should go for another solution. I also can't create the batch file, because it will run on a different PC with different directories. Thanks in advance for help!

Answers (1)

Image Analyst
Image Analyst on 2 Apr 2016
I use a third party installer because deploytool does not let you specify where files go. If you don't want to do that, then just give him the mex file, already compiled, as a separate file and tell him where to put it.
  5 Comments
Image Analyst
Image Analyst on 2 Apr 2016
I just can't understand why your mex file is not able to handle input parameters and needs to be recompiled. It should be able to handle different parameters without being recompiled. Please explain why it needs recompilation. I know you need to recompile since the File Exchange doesn't permit mex files to be uploaded, but once you've done that, you can ship the compiled mex file to your professor and your professor should not have to recompile it again. Or call the compiler help line at the Mathworks.
Alessandro Russo
Alessandro Russo on 2 Apr 2016
it's in the filter implementation, when i recall it, it just start compiling the mex file, and when it's done it continues with his MATLAB instructions, but first it goes with the compilation. I don't know in detail how this implementation of Frangi filter works, i just apply it.

Sign in to comment.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!