How to run two simulink models in parallel?

조회 수: 3 (최근 30일)
Leonardo Molino
Leonardo Molino 2024년 7월 24일
댓글: Leonardo Molino 2024년 7월 24일
Hello everyone,
I am working with a 3DOF model of a commercial airplane in MatLab/Simulink. This model contains the state propagator and the autopilot. I would like to train an RL agent using the outputs of this model. The problem is that the environment for the RL application contains an exact copy of the state propagator of the 3DOF model. How can I use two of these systems without conflicting with the goto/from blocks and the signal name?
Thank you

채택된 답변

Ashutosh Thakur
Ashutosh Thakur 2024년 7월 24일
Hi Leonardo,
When working with multiple instances of the same subsystem, you may encounter conflicts with signal naming and block usage. Here are some strategies to address these issues:
I hope that the above-mentioned strategies helps you!
  댓글 수: 1
Leonardo Molino
Leonardo Molino 2024년 7월 24일
Hi @Ashutosh Thakur, thanks for answering! So far I was working with "Goto visibility tag"; basically, I am changing the tag visibility from "global" to "scoped", leaving unchanged the "local" ones. In your opinion, could this strategy also work?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by