do all the S-fuctions need to be generated in the same release version generating the FMU?
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
surya venu
on 17 May 2024
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.
0 Comments
See Also
Categories
Find more on Create Standalone FMU in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!