Why do I receive a "Runtime Not Found" prompt when creating a standalone application using MATLAB Compiler R2018a or later?

77 views (last 30 days)
While creating a standalone application with "Runtime included in package" option using the Application Compiler App, I encounter a "Runtime Not Found" dialog box, saying that "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 expected?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 2 Dec 2023
Edited: MathWorks Support Team on 2 Feb 2024
Starting from 2018a, the MATLAB Runtime installer is not included with the MATLAB Compiler product anymore, and this change has been documented and can be accessed by running the following command:
web(fullfile(docroot, 'compiler/release-notes.html'))
Also, please notice that the dialog box text says "Valid MATLAB Runtime installer not found". This means that it is irrelevant whether the matching MATLAB Runtime is installed on your computer.
Thus, the dialog box will be prompted if there is no MATLAB Compiler Runtime installer present, or the installer location is not specified inside the MATLAB Compiler preferences. To resolve this, you can select one of the following options in the dialog box:
"Download from Web"
If you have internet access, you can click the "Download from Web" button. This will download the MATLAB Runtime installer from the MathWorks website, and set the preference for you so that the prompt will not appear anymore in the future.
"Specify Location"
If you do not have Internet access, or the "Download from Web" option did not work for other reasons, you can download the MATLAB Runtime installer manually by using one of the following approaches:
>> compiler.runtime.download
Then, move the file to the folder you want to hold the installer. This can be any location, or (optional) if you have admin rights, you can also move the file to the default location within the MATLAB installation at <matlabroot>\toolbox\compiler\deploy\<arch>.
Finally, click the "Specify Location" button, and enter the location of the MATLAB Runtime installer archive in the appropriate field within the MATLAB Compiler Preferences:
Please follow the below link to search for the required information regarding the current release:
https://www.mathworks.com/help/

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!