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

13 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Sebastian Castro
Sebastian Castro il 7 Nov 2018
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

Più risposte (0)

Categorie

Scopri di più su Subsystems in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by