model simulation by ignore model reference

2 次查看(过去 30 天)
Can you give me suggestion about model simulation by ignore model reference.
[Background]
I like to simulate simulink model which have the reference model. But those reference model still have error when simulation.
addtional information. my target model refer too many reference model (300-400 reference model)
[Question]
Can we ignore model reference (or thier error message) when I simulate my target model?
I like to confirm data connection between those reference model, not concern the correctness of logic with in those reference model

回答(1 个)

Animesh
Animesh 2024-4-30
It might not be possible to determine the data flow between model blocks without simulating (or updating) the model. This is because if an error occurs in any referenced model, then the data won't flow from that specific block, which in turn prevents it from flowing to other blocks.
However, you can select Alias Data Types under Information Overlays to identify the data type being passed in the connection signals.
Moreover, what we can do is update the reference models causing errors. You can either replace those models with a mock model that has the same input and output data type or use conditional execution with the help of Enabled Subsystems or Triggered Subsystems. These can be activated based on certain conditions to prevent the error-prone logic from executing.
You can refer the following MathWorks documentation for more information:

类别

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

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by