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

I would want to ask about how I could create an executable (gui) with Matlab 2013b, someone can help me? Thanks in advanced!

回答(1 个)

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 个评论

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

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by