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?

27 次查看(过去 30 天)
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?

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2025-5-2
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: 

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Standalone Applications 的更多信息

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by