Convert .slx file to .mldatx
18 ビュー (過去 30 日間)
古いコメントを表示
I have a simulink .slx file that I want to convert to .mldatx. I want t load this to the Simulink Real Time Porgram (slrtexplr). How do I g about this?
0 件のコメント
回答 (2 件)
Walter Roberson
2021 年 8 月 25 日
編集済み: Walter Roberson
2021 年 8 月 26 日
It appears that you need to set up points with logging to Simulink Data Inspector enabled, and then run. The mldatx files are logged data.
2 件のコメント
Diego Kuratli
2021 年 8 月 26 日
MLDATX is a file container, not necessarly for Simulation Data Inspector.
In this case, the MLDATX file is the format of the real-time application.
Xavier Gross
2022 年 8 月 24 日
How can I find out which application the mldatx file is for?
I have several files in my project, some for Simulation Data Inspector and other for Test Manager. I would like to find all mldatx files for Test Manager. Any suggestion?
Diego Kuratli
2021 年 8 月 26 日
You have to build the Simulink model to generate the real-time application (MLDATX file).
- Prepare the model, e.g. Simulink -> Apps tab -> Simulink Real-Time
- Build the model, e.g. CTRL+B or Simulink -> Real-Time tab -> Run on Target pull-down menu -> Build Application
- Once you get the MLDATX file, you can load to the target with Simulink Real-Time Explorer, or simply double-click on the file.
(on step 2. you can also select Run on Target to automatically build the model, load to the target computer, and run.)
Here is an example: https://www.mathworks.com/help/slrealtime/gs/run-a-real-time-application.html
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!