*.mdl extension in library file is giving error in 2024a version

조회 수: 8 (최근 30일)
Varsha
Varsha 2025년 1월 9일
답변: Walter Roberson 2025년 1월 9일
We were using lib.mdl file for cusomised library of our tool in simulink and it was working fine till 2023b version but in 2024a and 2024b version it is giving me error saying the lib file has to be in .slx extension what is the exact reason to this?
error image:
whether .mdl extension for libraries is deprecated or not, we are in a confusion please provide us a accurate reason for this issue.
  댓글 수: 1
praguna manvi
praguna manvi 2025년 1월 9일
As I see you are looking to use ".mdl" extension model for a customised library. ccording to the documentation for R2024b (latest), it is possible to save models with the ".mdl" extension. However, it mentions that if both ".mdl" and ".slx" models exist with the same name, the ".slx" model takes precedence. For more information on extension support see the following documentation:
The issue that you are facing might be more specifc to this particular model.

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2025년 1월 9일
It is a flag used to enable a model showing up in the Library Browser.
If you do not want to save as SLX then you can choose "Generate repositories in memory"

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by