필터 지우기
필터 지우기

model simulation by ignore model reference

조회 수: 3 (최근 30일)
VIJITTRA KANJANARAT
VIJITTRA KANJANARAT 2021년 12월 3일
답변: Animesh 2024년 4월 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