library browser hierachy

I started to build a larger Simulink Library, which is split into several .mdl files.
Now I want to create a slblock.m configuration in a way that the library browser will show my library hierachy, example:
main library
|- sublibrary 1
`- sublibrary 2
`- subsublibrary 2.1
I read the documentation and looked at toolboxes how this could be done, until now without any success.
I found a hint to use
browser(1).Children = {'sublibrary 1', 'sublibrary 2'}
in the slblocks.m description, but this is ignored and my libraries still appear side by side on top level.
any suggestions ?
thank you very much

 Accepted Answer

Kaustubha Govind
Kaustubha Govind on 1 Sep 2011

0 votes

Although there is currently no definite answer on the page, there are some hints that you may find useful.

2 Comments

Thank you very much for your quick answer. Yes I have already read the reference you mention, but it does not help in my case.
The starting point is, that our library needs to be composed out of different mdl files. To have only one single (huge) library file is not acceptable, regarding our software engineering guidlines. Especially this would break concurrent development in the project team.
I have seen that a library browser hierachy is possible. I saw
this during a visit in an other company and I remember that it was done by a browser(idx).Children = ??? structure entry.
Unfortunately I cannot ask again.
What I am missing is a documentation about the library browser
and how the blkStruct structure ist designed. All I found are
pointers to existing slblocks.m. This is NOT what I expect
from a good MathWorks documentation.
Maybe somebody uses a toolbox which uses this feature. It would be a big help to investigate the slblocks.m file in this case.
thanks again
W. Rohrmoser
Hi Wolfgang, I (also) desire to setup LIBs same as you. Did you ever discover the 'details' to get the job done? If so, can you share that with me too? (thx) --Dean Kowal

Sign in to comment.

More Answers (0)

Categories

Products

Community Treasure Hunt

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

Start Hunting!