Main Content

Code Generation for System Objects

You can generate C and C++ code for a subset of System objects provided by the following toolboxes.

Toolbox NameSee
Communications Toolbox™ System Objects in MATLAB Code Generation (MATLAB Coder)
Computer Vision Toolbox™ System Objects in MATLAB Code Generation (MATLAB Coder)
DSP System Toolbox™ System Objects in MATLAB Code Generation (MATLAB Coder)
Image Acquisition Toolbox™
Phased Array System Toolbox™ Code Generation (Phased Array System Toolbox)
System Identification Toolbox™ Generate Code for Online Parameter Estimation in MATLAB (System Identification Toolbox)
WLAN Toolbox™ System Objects in MATLAB Code Generation (MATLAB Coder)

To use these System objects, you need to install the requisite toolbox. For a list of System objects supported for C and C++ code generation, see Functions and Objects Supported for C/C++ Code Generation.

System objects are MATLAB® object-oriented implementations of algorithms. They extend MATLAB by enabling you to model dynamic systems represented by time-varying algorithms. System objects are well integrated into the MATLAB language, regardless of whether you are writing simple functions, working interactively in the command window, or creating large applications.

In contrast to MATLAB functions, System objects automatically manage state information, data indexing, and buffering, which is particularly useful for iterative computations or stream data processing. This enables efficient processing of long data sets. For general information about MATLAB objects, see Classes.