This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

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.

Blocks

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

Topics

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