Valid MATLAB Runtime installer not found.

18 ビュー (過去 30 日間)
Ken
Ken 2026 年 2 月 11 日 22:12
回答済み: Kojiro Saito 2026 年 2 月 14 日 10:58
When trying to compile a stand alone ap in ap designer, it throws the error "Valid MATLAB Runtime installer not found". It prompts for MATLAB Runtime installer location. Here is what my IT guy installed:
At C:\Program Files\Matlab\
R2024b
MATLAB Compiler Runtime
MATLAB Runtime
The IT guy reported that he was unable to add paths to the ENVIRONMENT VARIABLES.
What do I need to do so that I can compile stand alone .exe applications?
  3 件のコメント
Ken
Ken 2026 年 2 月 12 日 3:07
Yes, I have the compiler toolbox.
Walter Roberson
Walter Roberson 2026 年 2 月 12 日 8:00
I suggest that you experiment with using
restoredefaultpath; rehash toolboxcache

サインインしてコメントする。

回答 (1 件)

Kojiro Saito
Kojiro Saito 2026 年 2 月 14 日 10:58
The MATLAB Runtime installer is not the install folder of MATLAB Runtime, it should be the installer which can be downloaded from the following MATLAB command.
compiler.runtime.download
The installer would be downloaded at "C:\Users\<username>\AppData\Local\MathWorks\MatlabRuntimeCache\MCRInstaller24.2\MATLAB_Runtime_R2024b_win64.zip" in case of R2024b Windows.
The MATLAB Runtime installer is needed when you compile the mlapp and choose "Runtime included in package" option in Application Compiler App. If you choose "Runtime downloaded from web" option, you don't need to store MATLAB Runtime installer in your machine.
Ref: Example

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品


リリース

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by