How to export FMU with bus signals as ports?

조회 수: 3 (최근 30일)
Nils Waap
Nils Waap 2021년 9월 29일
댓글: Wenhan Huang 2021년 10월 26일
Hello Mathworks community,
I want to export an FMU with bus signals as in-and output ports.
The green subsystem contains two bus selectors.
The inside of the subsystem looks like that:
If I try to export it to an FMU, Matlab drops an error message. It is saying that there is not bus signal connected to to "Bus Selector1".
Can I fix the problem by using "InBus" and "OutBus" connections?
Best regards
Nils
  댓글 수: 1
Wenhan Huang
Wenhan Huang 2021년 10월 26일
Hi Nils, could you please check if you specify datatype in the inports block and compile the model?

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

답변 (0개)

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by