Why do MATLAB 6.5 (R13) and Simulink 5.0 (R13) hang when I try to update my model with masked subsystems?

1 view (last 30 days)
Why do MATLAB 6.5 (R13) and Simulink 5.0 (R13) hang when I try to update my model with masked subsystems?
I have two layers of masked subsystems in my model named A and B. B is a subsystem in A, and A is a subsystem in my model. They are both masked. I pass a structure as a parameter to A's mask. I pass individual fields in that structure as parameters to B's mask. I then use these variables in B as parameters to some of the blocks in my B subsystem. When I do this, if I update my model, MATLAB and Simulink hang. If I replace the variables from B's workspace with variables in the MATLAB workspace everything works fine.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This is a bug in Simulink 5.0 (R13) that is currently under investigation by our development staff.
As a workaround, use variables in your MATLAB workspace instead of variables in your mask workspace when working with nested masked subsystems.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!