Package Standalone Application with MCR Libraries

조회 수: 11 (최근 30일)
Jose María Olmos Pérez
Jose María Olmos Pérez 2021년 2월 11일
답변: Stefanie Schwarz 2025년 5월 2일
Hello,
I am trying to create a standalone application with "Runtime included in package" (Since we do not have administration rights in the computers of my office, I guess that this option will be much more efficent for my colleagues). However I am having problems when selecting it:
I have explored seceral simmilar topics like this:
or
But I haven't figured it out yet!. The MCR libraries that I have downloaded are: MATLAB_Runtime_R2019b_Update_7_win64.zip
My version of matlab is: 9.7.0.1190202 (R2019b) (Hence, I guess that the update 7 is te correct one)
The command
compiler.runtime.download
does not work to me due to administration right limitations.
When I tried the option Runtime Included In Package\ download from web, the next error message appears in the log:
A connection could not be established to download the Runtime Installer. Download the runtime from https://www.mathworks.com/products/compiler/mcr.html and update the runtime location in Compiler Settings.

채택된 답변

Jose María Olmos Pérez
Jose María Olmos Pérez 2021년 2월 12일
Hi!
I have contacted the Technical Support Center and this is the solution for this issue:
The error you are encountering is likely the result of not installing the correct version of MATLAB Compiler Runtime. I would suggest obtaining a new MATLAB Runtime Installer by following one of the two steps below:
1. Run the following command and note the download location:
>> compiler.runtime.download
​​​​​​​2. Run the following command to obtain a URL which you can open in a web browser to download the correct version:
>> com.mathworks.toolbox.compiler.MatlabRuntimeUtils.getMCRInstallerDownloadURL()
​​​​​​​I believe that if you re-download the MATLAB Runtime Installer and specify the new location, this should resolve your issue

추가 답변 (1개)

Stefanie Schwarz
Stefanie Schwarz 2025년 5월 2일

카테고리

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

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by