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?

24 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 2 Mai 2025
Modifié(e) : MathWorks Support Team le 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: 

Plus de réponses (0)

Catégories

En savoir plus sur Standalone Applications dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by