Convert GUI to executable file

5 visualizzazioni (ultimi 30 giorni)
ANUBHAV SINHA
ANUBHAV SINHA il 27 Ago 2011
Commentato: Walter Roberson il 11 Giu 2022
Hello, I have constructed many MATLAB GUIs in which user inputs some data and the program(some GUIs also use Simulink while most of them are on editor) calculates output and displays it after the 'submit' button is hit. However, I wish to convert it to an '.exe' file(or such equivalent)which makes the GUI 'install' on any computer, thus enabling the user throughout the world to use it without the need to install MATLAB. May someone please suggest some technique/tool on MATLAB to do so. Anubhav Sinha

Risposte (3)

Fangjun Jiang
Fangjun Jiang il 27 Ago 2011
If you have the MATLAB Compiler toolbox, you can deploy your GUI application to an .exe file. Simulink related programs may not be supported. Type 'ver' in MATLAB Command Window to find out if you have the toolbox. Earlier version of MATLAB may not have it all. Check the link below to find out more.
  3 Commenti
Kaye Charity Ignacio
Kaye Charity Ignacio il 11 Giu 2022
How do I deploy my application to .dmg file?
Walter Roberson
Walter Roberson il 11 Giu 2022
https://www.howtogeek.com/362166/what-is-a-dmg-file-and-how-do-i-use-one/

Accedi per commentare.


Mohamed
Mohamed il 28 Ago 2011
i dont have a free version of matlab compiler and i cant find a direct link to download it so is there anyway to download it :) ?
  2 Commenti
Fangjun Jiang
Fangjun Jiang il 28 Ago 2011
The link is on TMW website. You have to pay though. I don't know if you can find a free version.
Walter Roberson
Walter Roberson il 29 Ago 2011
There is no (legal) free version of the MATLAB compiler.
Note for future reference: the MATLAB compiler cannot be purchased for use with the Student Version of MATLAB

Accedi per commentare.


Mohamed
Mohamed il 28 Ago 2011
thnx very much .., but i cant do the conversion by using Visual C++ 2008 ?? i tried to do this but i got an error message
Could not find the compiler "cl" on the DOS path. Use mbuild -setup to configure your environment properly. C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Unable to locate compiler. Error: An error occurred while shelling out to mbuild (error code = 2). Unable to build executable.
thank u again :)
  2 Commenti
Fangjun Jiang
Fangjun Jiang il 28 Ago 2011
Do you have the MATLAB Compiler toolbox. Type 'ver' can easily find it out. If you do, mbuilt() is to help solve some common problem. The error message you had asks you to run 'mbuild -setup' to go through a step by step set up. Good luck!
Mohamed
Mohamed il 28 Ago 2011
thnx for ur help :)

Accedi per commentare.

Categorie

Scopri di più su C Shared Library Integration in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by