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

6 views (last 30 days)
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 Comment
praguna manvi
praguna manvi on 9 Jan 2025
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.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 9 Jan 2025
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"

Categories

Find more on Modeling in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!