Can I use MATLAB Compiler to create a standalone app for controlling a Simulink Real-Time application in R2020b and later?
5 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2021 年 9 月 23 日
編集済み: MathWorks Support Team
2024 年 1 月 23 日
I migrated to MATLAB R2020b. I created an App Designer instrument panel app to control my real-time application running on a Speedgoat machine, similar to the following:
However, when I deploy this app to a standalone executable using MATLAB Compiler and try to execute this standalone GUI, I get the following error:
Invalid default value for property 'tg' in class 'App':
Undefined function 'slrealtime' for input arguments of type 'char'.
採用された回答
MathWorks Support Team
2024 年 1 月 23 日
編集済み: MathWorks Support Team
2024 年 1 月 23 日
Starting in R2021b, you can use MATLAB Compiler to create standalone executable for controlling real-time applications. You can deploy instrument panels created with App Designer, or simple MATLAB programs that use the MATLAB API for Simulink Real-Time. For more information, see:
By using the MATLAB Compiler workflow, the end user does not require any MATLAB license to interact with the Speedgoat target computer. The app will run against the royalty-free MATLAB Runtime.
Note that this workflow is not supported in R2020b and R2021a.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Instrument Connection and Communication についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!