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.

Create and Configure MATLAB S-Functions

Create custom blocks whose properties and behaviors are defined by MATLAB® functions called MATLAB S-functions

Level-2 MATLAB S-function API allows you to create blocks that have many of the features and capabilities of Simulink® built-in blocks, including:

  • Multiple input and output ports

  • 1-D, 2-D, and n-D input and output signals

  • All data types supported by Simulink

  • Real or complex signals

  • Frame-based signals

  • Multiple sample rates

  • User-defined data and work vectors

  • Tunable and run-time parameters