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 Center および File ExchangeCreate Standalone FMU についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by