
Why do I get the error "Real-time application was not included in the standalone executable"?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 25 Mai 2023
Bearbeitet: MathWorks Support Team
am 29 Feb. 2024
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.
Akzeptierte Antwort
MathWorks Support Team
am 29 Feb. 2024
Bearbeitet: MathWorks Support Team
am 29 Feb. 2024
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 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Target Computer Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!