Create .exe file from GUI using MATLAB Coder

28 vues (au cours des 30 derniers jours)
Harryboy
Harryboy le 10 Déc 2019
Modifié(e) : Nicolas B. le 10 Déc 2019
How can I create a .exe file of my MATLAB GUI using MATLAB Coder... so I can run it in a PC that does not have MATLAB?
where, the solution provided is to use deploytool from the MATLAB Compiler toolbox / MATLAB Compiler SDK toolbox. Unfortunately, I do not have these toolboxes. What I have is the MATLAB Coder toolbox, and I heard that it is enough to do the conversion to .exe
Therefore the question, how to create .exe of a GUI using MATLAB coder toolbox?

Réponse acceptée

Nicolas B.
Nicolas B. le 10 Déc 2019
Modifié(e) : Nicolas B. le 10 Déc 2019
Hi Harryboy,
to generate a exe-file from a MATLAB GUI, you need the MATLAB Compiler Toolbox. The MATLAB Coder can generate code which could be embedded into an app. It is a common misunderstanding because the toolboxes have similar names.
Hope it help you.
  3 commentaires
Nicolas B.
Nicolas B. le 10 Déc 2019
Modifié(e) : Nicolas B. le 10 Déc 2019
There is there a video which explains you how to generate standalone apps:
Here you have the documentation about the Standalone generator configuration:
If you look at the video, in 5 minutes, you will be ready to generate your own exe-files.
Edit: When you give to your friends/colleagues the standalone app, they have to install the Runtime of your MATLAB version from this this page.
Harryboy
Harryboy le 10 Déc 2019
Thank you very very much!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by