FMU Export with bus signal as Input/Output

조회 수: 22 (최근 30일)
Andrä Carotta
Andrä Carotta 2019년 4월 29일
편집: Andrä Carotta 2019년 4월 29일
Hi,
I use the "Tool-Coupling Co-Simulation FMU Export for Simulink" toolbox from Simulink to export a FMU.
When I use the data type "Inherit: auto" for input and output the FMU is ok. But when I use bus signals for Input
and output I get the error:
Error in supplied FMU: An error occurred in function 'fmi2Instantiate' for block 'assembly/FMU' during simulation. To debug your FMU file, select the "Enable FMU Debug Logging" check box. For more information, see the FMU troubleshooting documentation.
Component:Simulink | Category:Model error
FMU block assembly/FMU is simulating a tool-coupling FMU exported from Simulink. To simulate this FMU, install 'Tool-Coupling Co-Simulation FMU Export for Simulink' Support Package and launch MATLAB slave sessions using MATLAB pool management script. Make sure you have set up correct environment variables. For more information, see 'Use the Exported Tool-Coupling FMU'.
When I generate this error I have to restart the matlab session via the fmu-matlab-setup.cmd skript.
I attach the working FMU: "FMU_test_scalar" and the faulty FMU: "FMU_test_bus".

답변 (0개)

카테고리

Help CenterFile Exchange에서 Create Standalone FMU에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by