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

Wolfgang Rohrmoser
Wolfgang Rohrmoser 2011년 9월 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
Dean Kowal
Dean Kowal 2012년 3월 21일
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