Problem with OpenFcn parameter in Simulink
显示 更早的评论
I am creating a Simulink block library and it contains several empty subsystems. I want these subsystems to open up other .mdl files when the user double clicks on them, I have used the OpenFcn parameter to achieve this and it works fine. The problem is when I configure he OpenFcn parameter Simulink no longer displays the subsystem in the library browser. If OpenFcn is left empty the subsystem is dispayed but once it is assigned the block vanishes from the library browser. What is happening here?
2 个评论
Kaustubha Govind
2013-7-11
Could you try creating a mask on the subsystem and add a parameter named 'ShowInLibBrowser' to the mask? I think this should make the subsystem show up in the browser.
Charles
2013-7-11
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Subsystems 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!