do all the S-fuctions need to be generated in the same release version generating the FMU?

2 次查看(过去 30 天)
It seems that to generate an executable, all the S-Functions must be generated in the version with which the executable is generated. I think that it works the same way for the FMU? Could someone please confirm it.

回答(1 个)

surya venu
surya venu 2024-5-17
Hi,
To generate an FMU from Simulink, all the S-Functions used in the model must be generated using the same MATLAB version as the one used to export the FMU. The error message in the Stack Overflow post indicates that the issue is caused by a mismatch between the MATLAB version used to generate the S-Functions and the one used to export the FMU. This is because the FMU export process relies on the generated code from the S-Functions, which needs to be compatible with the MATLAB version used for the export.
Hope it helps.

类别

Help CenterFile Exchange 中查找有关 Create Standalone FMU 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by