Simulink.SFunctionBuilder.generateFMU
Generate FMU compatible with FMI 3.0 standards from C/C++ code using S-Function Builder block
Since R2023b
Syntax
Description
Simulink.SFunctionBuilder.generateFMU(
generates a standalone co-simulation FMU that is compatible with FMI 3.0 standards for the
specified S-Function Builder block blk
)blk
.
The following limitations apply for this function:
Continuous states are not supported for Co-simulation FMU
Access to SimStruct is not supported
Note
This function requires the FMU Builder for Simulink® support package.
For an example of generating an FMU from C/C++ using Simulink.SFunctionBuilder.generateFMU
, see
Generate FMU from C/C++ Code Using S-Function Builder (Simulink Compiler).
Simulink.SFunctionBuilder.generateFMU(
generates FMU that is compatible with FMI 3.0 standards with additional options.blk
, Name,Value
)
Input Arguments
Version History
Introduced in R2023b