How to remove MLDATX file dependency in Simulink R2022b without the warning message "Unable to find notes file <name>.mldatx"?

조회 수: 2 (최근 30일)
A MLDATX file is created when I add "Model Notes" in Simulink R2022b. I would like to remove all of the notes in the model by deleting the associated file of type MLDATX.  But this results in the "Notes" pane opening up each time the Simulink model is opened while containing the message: "Unable to find notes file <name>.mldatx. Make sure the file is on the MATLAB path.". 
Is there a way to remove the file-not-found message in the "Notes" pane?

채택된 답변

MathWorks Support Team
MathWorks Support Team 2023년 11월 14일
To remove "Model Notes" from a Simulink model, you can:
  1. Open "Model Notes" by searching in the "Design" section under the "Modelling" tab in the Simulink Toolstrip
  2. Select "Edit Notes" (i.e. the pencil icon)
  3. Select "No Notes" in the drop-down menu
This will remove any notes associated with the current system or subsystem without affecting notes on other subsystems. Any existing MATLAB data export files (I.e. MLDATX files) originating from Simulink “Notes” can be ignored.
Currently there is no way to remove the missing MLDATX file warning message. The development team has been made aware of this and will consider fixing in future releases and updates.
To prevent the "Notes" pane from opening each time Simulink is started, you can:
  1. Close the "Notes" pane
  2. Save the Simulink model
The Simulink Notes UI should no longer appear the next time Simulink model is opened.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by