How can I install specific products within the MATLAB Runtime to save space?
조회 수: 39 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2013년 4월 19일
편집: MathWorks Support Team
2025년 5월 2일
The MATLAB Runtime installer provided on the MathWorks Website is monolithic, offering no options for selective installation and requiring several gigabytes of space. Is it possible to create a custom installer for the MATLAB Runtime that includes only the components necessary for my compiled MATLAB application(s), resulting in a smaller installation size?
채택된 답변
MathWorks Support Team
2025년 5월 2일
편집: MathWorks Support Team
2025년 5월 2일
There are three ways to create a minimal installation for MATLAB Runtime:
Starting from R2024b, application developers can use the 'compiler.runtime.customInstaller' function to create a custom MATLAB Runtime installer with a minimal size footprint that installs only the MATLAB Runtime components required to run one or more applications created with MATLAB Compiler or MATLAB Compiler SDK. See this documentation page:
Since R2023b, another option is to use the 'compiler.runtime.createDockerImage' function to create a custom MATLAB Runtime Docker® image that can run multiple applications. See this documentation page:
Furthermore, there is the option to use Application Packaging which has been available since MATLAB R2016a. See the following MATLAB Answer for details:
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Standalone Applications에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!