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 件)

Iain
Iain 2016 年 6 月 7 日

0 投票

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 2016 年 6 月 7 日
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 2016 年 6 月 7 日
I used "deploytool" but I have this error : Test checkout of feature 'Compiler' failed.
mcc failed.
Harsheel
Harsheel 2016 年 6 月 16 日
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 ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

質問済み:

2016 年 6 月 7 日

コメント済み:

2016 年 6 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by