Convert .slx file to .mldatx

조회 수: 11 (최근 30일)
Shveta Dhamankar
Shveta Dhamankar 2021년 8월 25일
댓글: Xavier Gross 2022년 8월 24일
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?

답변 (2개)

Walter Roberson
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
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
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
Diego Kuratli 2021년 8월 26일
You have to build the Simulink model to generate the real-time application (MLDATX file).
  1. Prepare the model, e.g. Simulink -> Apps tab -> Simulink Real-Time
  2. Build the model, e.g. CTRL+B or Simulink -> Real-Time tab -> Run on Target pull-down menu -> Build Application
  3. 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.)

Community Treasure Hunt

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

Start Hunting!

Translated by