How to create a Executable (.exe) with MatLab 2013b ?

6 visualizzazioni (ultimi 30 giorni)
Mario Martos
Mario Martos il 7 Giu 2016
Commentato: Harsheel il 16 Giu 2016
I would want to ask about how I could create an executable (gui) with Matlab 2013b, someone can help me? Thanks in advanced!

Risposte (1)

Iain
Iain il 7 Giu 2016
You need the compiler toolbox. The method I use is:
mcc <scriptname> -m
The Matlab compiler runtimes need to be installed for the exe to be able to run. (MCRinstaller.exe should be somewhere in your matlab install)
  3 Commenti
Mario Martos
Mario Martos il 7 Giu 2016
I used "deploytool" but I have this error : Test checkout of feature 'Compiler' failed.
mcc failed.
Harsheel
Harsheel il 16 Giu 2016
Looks to me like the license for the "MATLAB Compiler" product has expired. Try to run the following two commands:
>>license('test','Compiler')
>>license('checkout','Compiler')
If any of the two fail then you may need your Sys Admin to contact MathWorks Technical Support to renew your license.

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing 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