Is it possible to pass outputs from one model to be the inputs of another model using simulink?

조회 수: 13 (최근 30일)
I have two models that I want to communicate with each other both saved in the same project. Is it possible to have the outputs of model A become inputs for Model B? I am trying to use the 'go to' and 'from' blocks to accomplish this but it doesn't work. Do I just need to create a new model and fill it with separate subsystems rather than have two separate model files try and share inputs and outputs.

채택된 답변

Sebastian Castro
Sebastian Castro 2018년 11월 7일
You could try model referencing to connect these two models inside one bigger "parent" model. It's a very common thing when you have individual models you want to unit-test, but also later want to integrate together.
- Sebastian

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by