Block Creation Basics

Create custom blocks to extend modeling functionality

Blocks

Fcn Apply specified expression to input
Function Caller Call Simulink or Stateflow function
Interpreted MATLAB Function Apply MATLAB function or expression to input
Level-2 MATLAB S-Function Use Level-2 MATLAB S-function in model
MATLAB Function Include MATLAB code in models that generate embeddable C code
MATLAB System Include System object in model
S-Function Include S-function in model
S-Function Builder Create S-function from C code that you provide
Simulink Function Function definition used by Function Caller block or Stateflow chart
Was this topic helpful?