model simulation by ignore model reference

1 vue (au cours des 30 derniers jours)
VIJITTRA KANJANARAT
VIJITTRA KANJANARAT le 3 Déc 2021
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

Réponses (1)

Animesh
Animesh le 30 Avr 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:

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by