Why does Simulink hang when I update my model in Simulink 5.0 (R13)?

3 次查看(过去 30 天)
When I update my model by pressing Ctrl+D, Simulink hangs. I experience this issue when I have a Matrix Multiplication block, If block and a Merge block in series.

采纳的回答

MathWorks Support Team
This issue has been fixed in Simulink 6.0 (R14). If you are using a previous version, read the following:
There is a bug in Simulink 5.0 (R13) that causes Simulink to encounter an infinite loop during the dimension propagation step of the model update phase. To work around this issue, place Signal Specification blocks (from Simulink/Signal Attributes library) at the inputs and outputs of the Merge block and explicitly specify the dimensions of the signals. The attached model (example.mdl) illustrates the changes proposed above.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Subsystems 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by