Why do I receive a "Valid MATLAB Runtime installer not found" message in Application Compiler when choosing to compile with the "Runtime included in package" option using MATLAB Compiler R2018a or later?

25 Ansichten (letzte 30 Tage)
I am trying to create a standalone application or library with the "Runtime included in package" option using the Application Compiler or Library Compiler apps, so that the MATLAB Runtime installer is included in my application installer.
When I attempt to package my application, I receive the following message, saying "Valid MATLAB Runtime installer not found". It is shown in the screenshot below.
Even after installing the MATLAB Runtime on my computer, I am still getting this prompt. Also, I never got this prompt when using the Application Compiler in R2017b or earlier. Is this behavior expected?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 2 Mai 2025
Bearbeitet: MathWorks Support Team am 2 Mai 2025
Starting in 2018a, the MATLAB Runtime installer is no longer included with the MATLAB Compiler product in an effort to reduce the MATLAB installation footprint. Note that the dialog box says "MATLAB Runtime installer not found." This means it is irrelevant whether the matching MATLAB Runtime is installed on your computer.
The message will therefore appear if the MATLAB Runtime installer file (MATLAB_Runtime_RXXXXx_arch.zip or MATLAB_Runtime_RXXXXx_Update_Y_arch.zip) is not available, or if the installer location has not been set in the MATLAB Compiler preferences.
To address this, refer to the following MATLAB answer: 

Weitere Antworten (0)

Kategorien

Mehr zu Standalone Applications finden Sie in Help Center und File Exchange

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by