*.mdl extension in library file is giving error in 2024a version
6 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
praguna manvi
am 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.
Antworten (1)
Walter Roberson
am 9 Jan. 2025
EnableLBRepository is described https://www.mathworks.com/help/simulink/ug/adding-libraries-to-the-library-browser.html
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"
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!