Can you use a Simulink model to set the values in a different model?

조회 수: 2 (최근 30일)
Is there any way that you can have one model link up to another model? Lets say I got a model that looks like this:
And another model that looks like:
If the first one had constant blocks instead of inports, could I set the first models constants and have the outport send the value to the inport of the second model?

채택된 답변

Kaustubha Govind
Kaustubha Govind 2012년 7월 18일
AFAIK, the only supported way currently to have two models run simultaneously and send/receive data from each other is to use both of them as referenced models inside a third model where you can connect their input/output ports as required.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by