MATLAB Answers

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

조회 수: 2(최근 30일)
Mario Martos
Mario Martos 7 Jun 2016
댓글: Harsheel 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

Sign in to comment.

답변(1개)

Iain
Iain 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

Mario Martos
Mario Martos 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 7 Jun 2016
I used "deploytool" but I have this error : Test checkout of feature 'Compiler' failed.
mcc failed.
Harsheel
Harsheel 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.

태그


Translated by