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

15 ビュー (過去 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 件)

カテゴリ

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by