フィルターのクリア

Why do I get the error "Real-time application was not included in the standalone executable"?

2 ビュー (過去 30 日間)
I am trying to run a real-time simulation on my Speedgoat target from a standalone application deployed using MATLAB Compiler, but I encounter the following error:
Cannot load 'slrt_ex_osc' on target 'TargetPC1': Cannot install
'slrt_ex_osc' on target 'TargetPC1': Real-time application
'slrt_ex_osc.mldatx' was not included in the standalone executable.
Or:
Error communicating with target 'TargetPC1': Real-time application
'slrt_ex_osc' was not included in the standalone executable.

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 2 月 29 日
編集済み: MathWorks Support Team 2024 年 2 月 29 日
The MLDATX file needs to be included in the MATLAB Compiler project when packaging the application. To do this, make sure that the MLDATX file is in the same folder as the MLAPP file. Furthermore, specify the MLDATX file under "Files required for your application to run" in the Application Compiler:
Note that deployed SLRT apps can only be used with a single MLDATX file. 
See the following documentation page for more information:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by