How can I allow a masked subsystem to modify the underlying block without breaking its link to a library?

1 view (last 30 days)
Hello. I have a masked subsystem residing in a library. A callback to one of the parameters of the masked subsystem changes the number of input ports within the subsystem. I have the box 'Allow library block to modify its contents' checked. However, whenever the callback is executed and the number of input ports present inside the subsystem is altered, the block disables the link to the library, and a corresponding warning message is displayed. I am using MATLAB R2011b. How can I allow the block to modify its own contents and still maintain its link to the library? What is the correct approach?
Thanks.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!