Support for MATLAB, Simulink, and Toolboxes


MATLAB Compiler supports the full MATLAB language including objects, most MATLAB toolboxes, and user-developed user interfaces. Simulink Compiler supports command-line simulation features that work in rapid-accelerator mode, including variable step solvers.

The following table shows the MATLAB toolboxes that you can use with MATLAB Compiler and describes which functionality can and cannot be compiled. For MATLAB Compiler, this means that an application or component you deploy cannot use functionality from these products. In general, MathWorks provided apps, user interfaces, and code generation functionality will not compile.

Product MATLAB Compiler Simulink Compiler
MATLAB

Supported:

  • Most command line functionality
  • User-authored apps

Not Supported:

Command window, editor, App Designer, and other development tools

Not Supported
Simulink Not Supported

Supported:

sim;  Simulink.SimulationInput; Simulink.SimulationOutput

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

5G Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Aerospace Blockset
Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Aerospace Toolbox

Supported:

Everything except for animation functionality

Not Supported:

Animation functionality: interface to FlightGear flight simulator and MATLAB Handle Graphics animation objects

Not Supported
Antenna Toolbox Not Supported     Not Supported
Audio Toolbox

Supported:

All command line functionality except generateAudioPlugin and validateAudioPlugin

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Automated Driving Toolbox

Supported:

All command line functionality

Not Supported

Prebuilt Apps and UIs included in the toolbox

 

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

AUTOSAR Blockset Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Bioinformatics Toolbox

Supported:

All command line functionality

Not Supported

  • Prebuilt Apps and UIs included in toolbox
  • Affyread
Not Supported
Communications Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in toolbox, RF Propagation functions

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Computer Vision Toolbox

Supported:

All command line functionality

Not Supported

Prebuilt Apps and UIs included in toolbox

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Control System Toolbox

Supported:

  • LTI objects
  • Analysis and synthesis commands
  • Response plots

Not Supported:

Prebuilt Apps and UIs included such as:  

  • Linear System Analyzer app
  • Control System Designer app
  • PID Tuner app and pidtune function
  • Control System Tuner app, systune, and looptune functions
  • Model Reducer app

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Curve Fitting Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Data Acquisition Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Database Toolbox

Supported:

All command line functionality

Not Supported:

  • Prebuilt Apps and UIs included in the toolbox
  • dexplore (Database Explorer)
Not Supported
Datafeed Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Deep Learning Toolbox

Supported:

Most command line functionality, including functions for training neural networks

Not Supported

Prebuilt Apps and UIs included such as

  • gensim
  • genFunction
  • view

Supported:

All blocks created from gensim that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

DO Qualification Kit (for DO-178)

Not Supported Not Supported
DSP System Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

 

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation 

Econometrics Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Embedded Coder Not Supported     Not Supported
Filter Design HDL Coder Not Supported Not Supported
Financial Instruments Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Financial Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included such as

  • ftstool
  • ftsgui
  • uicalendar
Not Supported
Fixed-Point Designer

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Supported:

Fixed-point data type

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Fuzzy Logic Toolbox

Supported:

All command line functionality

Fuzzy Logic Toolbox includes source code that lets you compile a fuzzy inference system (FIS) using a C compiler. For more information, consult the Fuzzy Logic Toolbox documentation.

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Global Optimization Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
GPU Coder Not Supported Not Supported
HDL Coder Not Supported Not Supported
HDL Verifier Not Supported Not Supported
IEC Certification Kit (for ISO 26262 and IEC 61508) Not Supported Not Supported
Image Acquisition Toolbox

Supported: All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Image Processing Toolbox

Supported:

All command line functionality including modular interactive tools

Not Supported:

  • Prebuilt Apps and UIs included in the toolbox
  • cpselect
Not Supported
Instrument Control Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported

LTE Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Mapping Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included such as:

  • maptool
Not Supported
MATLAB Coder

Supported:

MEX-files generated using MATLAB Coder can be used with deployed applications

Not Supported:

MATLAB Coder functionality to generate code within a deployed application

Not Supported
MATLAB Compiler SDK Not Supported     Not Supported
MATLAB Parallel Server Not Supported Not Supported
MATLAB Production Server Not Supported Not Supported
MATLAB Report Generator

Supported:

All command line functionality

Not Supported:

Prebuilt Apps included in MATLAB Report Generator

Not Supported
MATLAB Web App Server Not Supported Not Supported
Mixed-Signal Blockset Not Supported     Not Supported
Model Predictive Control Toolbox

Supported:

MPC objects, MPC controller design and simulation

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Model-Based Calibration Toolbox Not Supported Not Supported
Motor Control Blockset Not Supported Not Supported
Navigation Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

OPC Toolbox

Supported:

 All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Optimization Toolbox

Supported:

 All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Parallel Computing Toolbox

Supported:

 All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Partial Differential Equation Toolbox

Supported:

 All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Phased Array System Toolbox

Supported:

 All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Polyspace Bug Finder Not Supported Not Supported
Polyspace Bug Finder Access Not Supported Not Supported
Polyspace Bug Finder Server Not Supported Not Supported
Polyspace Code Prover Not Supported Not Supported
Polyspace Code Prover Server Not Supported Not Supported
Powertrain Blockset Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Predictive Maintenance Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Reinforcement Learning Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
RF Blockset Not Supported Not Supported
RF Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Risk Management Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Robotics System Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Robust Control Toolbox Not Supported Not Supported

ROS Toolbox

Supported:

All command line functionality

Not Supported:

  • rosgenmsg
  • ros2genmsg
Not Supported
Sensor Fusion and Tracking Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Serdes Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Signal Processing Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
SimBiology

 Supported:

  • SimBiology.export.Model objects
  • SimFunction objects
  • Plotting functions sbioensembleplot, sbiosubplot, and sbiotrellis
  • Sampling functions sbiosampleerror and sbiosampleparameters

 

Not Supported:

  • SimBiology desktop apps
  • Functions and objects related to model building, such as sbiomodel and sbmlimport and SimBiology.Model objects
  • Functions that rely on SimBiology.Model objects, such as sbiosimulate, sbiofit, and sbiofitmixed
  • Plotting function sbioplot
Not Supported
SimEvents Not Supported Not Supported
Simscape Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Simscape Driveline Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Simscape Electrical Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Simscape Fluids Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Simscape Multibody Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Simulink 3D Animation

Supported:

All command line functionality and viewer

Not Supported:

  • Prebuilt Apps and UIs included in the product
  • Viewer features to edit the world, record, or start a simulation,
  • Simulink 3D Animation server (no remote connection for the Orbisnap or blaxxun viewers)
Not Supported
Simulink Check Not Supported Not Supported
Simulink Code Inspector Not Supported Not Supported
Simulink Coder Not Supported Not Supported
Simulink Control Design Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Simulink Coverage Not Supported Not Supported

Simulink Design Optimization Not Supported

Supported:

Parameter estimation commands and all blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Simulink Design Verifier Not Supported Not Supported

Simulink Desktop Real-Time Not Supported Not Supported

Simulink PLC Coder Not Supported Not Supported

Simulink Real-Time
Not Supported
Not Supported
Simulink Report Generator
Not Supported
Not Supported
Simulink Requirements Not Supported Not Supported
Simulink Test Not Supported Not Supported
SoC Blockset Not Supported Not Supported
Spreadsheet Link Not Supported Not Supported
Stateflow

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Statistics and Machine Learning Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Symbolic Math Toolbox

Supported:

MATLAB functions, Simulink, and Simscape blocks created from symbolic expressions using matlabFunction, matlabFunctionBlock, and simscapeEquation.

Not Supported:

Creation of symbolic expressions, such as using sym, syms, and str2sym.

Supported:

All blocks created from symbolic expressions that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

System Composer Not Supported Not Supported
System Identification Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Text Analytics Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
ThingSpeak Not Supported Not Supported
Trading Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
UAV Toolbox

Supported:

All command line functionality

Not Supported:

uavLidarPointCloudGenerator

Prebuilt Apps and UIs included in the toolbox

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Vehicle Dynamics Blockset Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Vehicle Network Toolbox

Supported:

All command line functionality

Not Supported:

  • Prebuilt UIs included in the toolbox
  • Vehicle CAN Bus Monitor app
Not Supported
Vision HDL Toolbox Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt Apps, UIs, and functions, and blocks that don’t support code generation

Wavelet Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported
Wireless HDL Toolbox Not Supported Not Supported
WLAN Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt Apps and UIs included in the toolbox

Not Supported

For information on deploying support packages, see Manage Support Packages.