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

 采纳的回答

Kaustubha Govind
Kaustubha Govind 2011-9-1

0 个投票

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

2 个评论

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

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Interactive Model Editing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by