FMU Export with bus signal as Input/Output

15 visualizzazioni (ultimi 30 giorni)
Andrä Carotta
Andrä Carotta il 29 Apr 2019
Modificato: Andrä Carotta il 29 Apr 2019
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".

Risposte (0)

Prodotti


Release

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by