Back to all issues

Issue 5431

Bug: Getting model statistics fails for some models containing model references


SubmittedProductStatus
2024-05-17Reactis for SimulinkResolved in 2023.2.2 (released Jun 05, 2024; release notes)
Resolved in 2023.0.4 (released Jun 05, 2024; release notes)

When selecting the View->Get Model Statistics menu item in the GUI an error is shown for some models that contain Model Reference blocks. The error message says:

Cannot call this API on the referenced model 'xxx'. Instead, use the topmost model in the compiled hierarchy: 'yyy'.