do all the S-fuctions need to be generated in the same release version generating the FMU?
1 次查看(过去 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.
0 个评论
回答(1 个)
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Create Standalone FMU 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!