Filter löschen
Filter löschen

Get .mdl list of Simulink browser libraries

6 Ansichten (letzte 30 Tage)
Gireg
Gireg am 23 Mai 2011
Hello,
Does it exist a Matlab command that give the list of mdl files appearing in the Simulink Browser? I mean each library in the Simulink browser has a mdl file associated to, how can I get the list of those files with a Matlab command?
Thanks you!

Akzeptierte Antwort

Kaustubha Govind
Kaustubha Govind am 23 Mai 2011
I don't know of a public API that provides this information, but I do know that all libraries must provide a slblocks.m on the MATLAB path for it to show up in the Simulink Library window. So you could potentially find all these files by executing "which -all slblocks", and execute each of them to look into the blkStruct.Browser.Library fields to find the name of the corresponding .mdl file.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by