model simulation by ignore model reference

1 view (last 30 days)
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

Answers (1)

Animesh
Animesh on 30 Apr 2024
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:

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!