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?

28 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 2 de Mayo de 2025
Editada: MathWorks Support Team el 2 de Mayo de 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: 

Más respuestas (0)

Categorías

Más información sobre Standalone Applications en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by