Implement C/C++ Code Using S-Function Builder

Implement C/C++ code in your Simulink® block by creating S-functions automatically

S-function builder is a Simulink block that integrates C/C++ code automatically using the specifications you provide. The S-function builder also serves as a wrapper for the generated S-function in the models that use S-function.


S-Function BuilderIntegrate C or C++ code to create S-functions


Build S-Functions Automatically

Use the S-Function Builder to generate S-functions automatically from specifications that you supply.

S-Function Builder Dialog Box

Learn how to specify the attributes of an S-Function Builder block that is about to be built.

S-Function Examples

Create various types of S-functions and S-function features.

Featured Examples