Is it possible to create an EXE file that can be run without MCR installed?

12 Ansichten (letzte 30 Tage)
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.

Akzeptierte Antwort

Jason Ross
Jason Ross am 27 Nov. 2012

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 27 Nov. 2012
Are you aware that you can include MCR in the bundle, so you only need to ship a single .exe ?
  10 Kommentare
Digitalsd
Digitalsd am 28 Nov. 2012
Bearbeitet: Digitalsd am 28 Nov. 2012
Of course it is about reading,to see whether being useful or not. About the comment of Image Analyst: It is not only a size issue,I think in the case of using the EXE created by MATLAB Compiler, the starting time when executing EXE will be equal to the time when executing the full MATALAB enviroment,it takes time. Any way it is not bad to have several ways to create an EXE file. Regards
Image Analyst
Image Analyst am 28 Nov. 2012
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu C Shared Library Integration finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by