Convert a GUI into a .exe,but it is very big!

2 ビュー (過去 30 日間)
li zhong
li zhong 2014 年 5 月 22 日
コメント済み: li zhong 2014 年 5 月 23 日
I have convert a GUI into a.exe,through mcc -e a.m,but the generated files a.exe and mccExcludedFiles.log are very big(more than 100M), and the starting time is also very long.Indeed the code is not very so complex! So how should I do to solve it? Thanks very much!
  2 件のコメント
Friedrich
Friedrich 2014 年 5 月 22 日
What ML version and which OS are you using?
li zhong
li zhong 2014 年 5 月 22 日
Matlab2013a and win7

サインインしてコメントする。

回答 (2 件)

BSantos
BSantos 2014 年 5 月 22 日
Have you tried use deploytool?
  2 件のコメント
li zhong
li zhong 2014 年 5 月 22 日
Yes, but it is the same result!
BSantos
BSantos 2014 年 5 月 23 日
Oh... that's strange. I always use deploytool (ML 2012b and win7) and never had such issues.

サインインしてコメントする。


Henric Rydén
Henric Rydén 2014 年 5 月 23 日
Are you using other functions that are very big, or have embedded the Matlab Component Runtime? Try
depfun('a.m')
to see all your dependencies.
  1 件のコメント
li zhong
li zhong 2014 年 5 月 23 日
MATLAB:dispatcher:loadLibrary Can't load 'D:\Program Files\MATLAB\R2013a\bin\win32\gpu.dll':The storage space is insufficient, cannot process this command . Caught MathWorks::System::FatalException
That's the command window content when depfun('a.m') was conducted!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by