Borrar filtros
Borrar filtros

model simulation by ignore model reference

3 visualizaciones (últimos 30 días)
VIJITTRA KANJANARAT
VIJITTRA KANJANARAT el 3 de Dic. de 2021
Respondida: Animesh el 30 de Abr. de 2024
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

Respuestas (1)

Animesh
Animesh el 30 de Abr. de 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:

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by