With the MATLAB Compiler, why is the installer produced when I select Runtime Include in package smaller than the size of the MATLAB Runtime installer itself?

조회 수: 1 (최근 30일)
I used the MATLAB R2018b Compiler to compile a standalone program. If I chose "Runtime included in package", the final EXE is 988,725 KB. The MATLAB Runtime installer itself is 1,732,559 KB. Is only part of the MATLAB Runtime included in the EXE?

채택된 답변

Sreelakshmi S.B
Sreelakshmi S.B 2019년 3월 7일
Possible explanation for this might be:
Starting R2015b, you can separate the core(Full installation of MATLAB Runtime) and GPU (MATLAB Runtime along with the GPU Components).The core version of the MATLAB Runtime does not have the GPU libraries and saves about 300mb of space(MATLAB Runtime will be around 1.3GB instead of the full sized version).
Starting R2016a, when the MCR is packaged along with an application that uses just the numeric functions of MATLAB, the MATLAB Compiler generates a stripped down MCR and it occupies around 330MB.
Note: This selective variant is available only when the runtime is packaged along with the component and not when downloaded from the website

추가 답변 (1개)

TAO GUO
TAO GUO 2019년 12월 17일
Why do I encounter a "The file is not a valid matlab RunTime installer for this version of MATLAB" error when I select "Runtime included in package"? Which file wo should select?
  댓글 수: 1
Walter Roberson
Walter Roberson 2019년 12월 17일
Be careful about which file you select if you have an Update installed into your MATLAB: the MCR is different for each Update.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by