Main Content

Create C/C++ S-Functions

Write S-functions using C or C++ code

You can create C/C++ S-functions by writing an S-function from scratch, using the S-function builder, or using the Legacy Code Tool. Each of these approaches involves a tradeoff between the ease of writing an S-function and the features supported by the S-function.

Bloques

S-FunctionInclude S-function in model
S-Function BuilderIntegrate C or C++ code to create S-functions

Temas

About C/C++ S-Functions

Create C S-Functions

Create C++ S-Functions