MATLAB Answers

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

6 views (last 30 days)
Mario Martos
Mario Martos on 7 Jun 2016
Commented: Harsheel on 16 Jun 2016
I would want to ask about how I could create an executable (gui) with Matlab 2013b, someone can help me? Thanks in advanced!

  0 Comments

Sign in to comment.

Answers (1)

Iain
Iain on 7 Jun 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 Comments

Mario Martos
Mario Martos on 7 Jun 2016
I downloaded MCRinstaller.exe but Matlab said me: mcc inicio -m Error using mcc Test checkout of feature 'Compiler' failed. Where is the directory where I should put this executable?
Mario Martos
Mario Martos on 7 Jun 2016
I used "deploytool" but I have this error : Test checkout of feature 'Compiler' failed.
mcc failed.
Harsheel
Harsheel on 16 Jun 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.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!