Simulink.SFunctionBuilder.generateFMU
Generate FMU compatible with FMI 3.0 standards from C/C++ code using FMU Builder
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 will be removed in a future release. Use the Code to FMU tool instead. For more information, see Generate a Basic Standalone FMU from C/C++ Code.
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.SFunctionBuilder.generateFMU(
generates FMU that is compatible with FMI 3.0 standards with additional options.blk, Name,Value)
Input Arguments
Name-Value Arguments
Version History
Introduced in R2023b