Is it possible to create an EXE file that can be run without MCR installed?
古いコメントを表示
The MCR must be installed on the target end user PC before running a MATLAB Compiled EXE, so the EXE and MCR must be packaged together.
The question: Is there any Matlab tool or method that could create an EXE application that can be run on the target PC without MCR installed and without additional files and to be independent Even if the EXE file becomes mush more bigger? If NOT what are the reasons.
採用された回答
その他の回答 (1 件)
Walter Roberson
2012 年 11 月 27 日
0 投票
Are you aware that you can include MCR in the bundle, so you only need to ship a single .exe ?
10 件のコメント
Digitalsd
2012 年 11 月 27 日
Walter Roberson
2012 年 11 月 27 日
You said, "even if the executable becomes much more bigger", so size does not seem to be the issue ?
It is fairly likely that any executable you build will depend upon run-time environments, such as a compiler run-time, and thus would probably fail the "without other files" requirement.
Digitalsd
2012 年 11 月 27 日
Walter Roberson
2012 年 11 月 27 日
MATLAB Coder converts to C or C++, that you would then compile.
There are many restrictions as to what can be done with MATLAB Coder; read the product literature and documentation to see whether it would be useful for your program.
Image Analyst
2012 年 11 月 27 日
In the days of terabyte hard drives, who cares about a few hundred megabytes?
Digitalsd
2012 年 11 月 27 日
Image Analyst
2012 年 11 月 27 日
Why? Could you tell us?
Walter Roberson
2012 年 11 月 27 日
(I suspect the "I will" refers to reading the documentation)
Image Analyst
2012 年 11 月 28 日
It seems like only the first time it's run does it take a really long time because it has to unpack all kinds of stuff from the archive. After that, subsequent runs launch faster. But I know of know way around this unless you want to run it directly from the MATLAB development invironment.
カテゴリ
ヘルプ センター および 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!