FMU Export with bus signal as Input/Output
22 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Create Standalone FMU en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!