MATLAB Compiler and Simulink Compiler

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, which work in rapid-accelerator mode, including variable step solvers.

The table below outlines the toolboxes compatible with MATLAB Compiler and details the functionalities that can and cannot be compiled. When using MATLAB Compiler, deployed applications or components are unable to utilize features from the mentioned products. Typically, MathWorks-provided applications, user interfaces (UIs), and code generation functionalities are not compiled. It's important to note that MATLAB Compiler SDK necessitates MATLAB Compiler and generates libraries (Python, Java, .NET, C/C++) that can be integrated with other programming languages.

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

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 do not 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 do not support code generation

Aerospace Toolbox

Supported:

Everything except for animation functionality

Not Supported:

Prebuilt apps and UIs included in the toolbox

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 do not 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 do not support code generation

AUTOSAR Blockset Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt apps, UIs, and functions, and blocks that do not support code generation

Bioinformatics Toolbox

Supported:

All command line functionality

Not Supported

  • Prebuilt apps and UIs included in toolbox
  • Affyread
Not Supported
C2000 Microcontroller Blockset Not Supported Not Supported
Communications 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 do not 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 do not 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 do not 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 

Not Supported:

Supported:

  • All blocks created by gensim that support code generation

Not Supported:

Prebuilt apps, UIs, and functions, and blocks that do not 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 do not 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:

Half function, Prebuilt apps and UIs included in the toolbox

Supported:

Fixed-point data type

Not Supported:

Prebuilt apps, UIs, and functions, and blocks that do not 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 do not 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
Industrial Communication Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt apps and UIs included in the toolbox

Not Supported
Instrument Control Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt apps and UIs included in the toolbox

Not Supported

Lidar Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt apps and UIs included in the toolbox

  • Readers and writers (I/O)
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 Parallel Server Not Supported Not Supported
MATLAB Production Server Not Supported Not Supported
MATLAB Test 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
Medical Imaging Toolbox

Supported:

All command line functionality, including modular interactive tools

Not Supported:

  • Prebuilt apps and UIs included in the toolbox
  • cpselect
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 do not 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 do not support code generation

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, except for linearize

Not Supported:

The linearize function and prebuilt apps and GUIs 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 do not support code generation

Polyspace Bug Finder Not Supported Not Supported
Polyspace Access Not Supported Not Supported
Polyspace Bug Finder Server Not Supported Not Supported
Polyspace Code Prover Not Supported Not Supported
Polyspace Test 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 do not support code generation

Predictive Maintenance Toolbox

Supported:

All command line functionality

Not Supported:

Prebuilt apps and UIs included in the toolbox

Not Supported
Radar 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 do not support code generation

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 PCB Toolbox Not Supported Not Supported
RF Toolbox

Supported:

All command line functionality

Not Supported:

rfsystem function, 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
  • Import of Collada(.dae) files through importrobot and rigidBody (addVisual and addCollision methods)
  • Gazebo CoSim MATLAB API

Supported:

All blocks that support code generation

Not Supported:

  • Prebuilt apps, UIs, and functions, and blocks that do not support code generation
  • Gazebo CoSim Simulink blocks 
Robust Control Toolbox Not Supported Not Supported

ROS Toolbox

Supported:

All command line functionality

Not Supported:

  • rosgenmsg
  • ros2genmsg
Not Supported
Satellite Communications Toolbox

Supported:

All command-line functionality

Not Supported:

Prebuilt apps and UIs included in the toolbox

Not Supported

Sensor Fusion and Tracking Toolbox

Supported:

All command line functionality

Not Supported:

  • Prebuilt apps and UIs included in the toolbox
  • trackingFilterTuner function
Not Supported
SerDes Toolbox

Not Supported

Not Supported
Signal Integrity Toolbox Not Supported 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 do not support code generation

Simscape Battery Not Supported 

Supported:

All blocks that support code generation

Not Supported:

Prebuilt apps, UIs, and functions, and blocks that do not support code generation

Simscape Driveline Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt apps, UIs, and functions, and blocks that do not support code generation

Simscape Electrical Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt apps, UIs, and functions, and blocks that do not support code generation

Simscape Fluids Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt apps, UIs, and functions, and blocks that do not support code generation

Simscape Multibody Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt apps, UIs, and functions, and blocks that do not support code generation

Simulink 3D Animation
Not Supported
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 do not 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 do not support code generation

Simulink Design Verifier Not Supported Not Supported

Simulink Desktop Real-Time Not Supported Not Supported

Simulink Fault Analyzer Not Supported Not Supported
Simulink PLC Coder Not Supported Not Supported

Simulink Real-Time

Supported:

All command line functionality

Not Supported:

Not Supported
Simulink Report Generator
Not Supported
Not Supported
Requirements Toolbox 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 do not 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 do not 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 do not 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
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 do not 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 do not support code generation

Vehicle Network Toolbox

Supported:

All command line functionality

Not Supported:

  • Prebuilt UIs included in the toolbox
  • Vehicle CAN Bus Monitor app

Supported:

CAN blocks and CAN-FD blocks

Not Supported:

Prebuilt apps, UIs, and functions, and blocks that do not support code generation

Vision HDL Toolbox Not Supported

Supported:

All blocks that support code generation

Not Supported:

Prebuilt apps, UIs, and functions, and blocks that do not 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