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 following table shows which toolboxes you can use with MATLAB Compiler and describes functionalities that can and cannot be compiled. For MATLAB Compiler, an application or component you deploy cannot use functionality from these products. In general, bat365 provided apps, user interfaces (UIs), and code generation functionality will not compile.
For information on deploying support packages, see Manage Support Packages.
Product | MATLAB Compiler | Simulink Compiler |
MATLAB | Supported:
Not Supported: Command window, editor, App Designer, and other development tools |
Not Supported |
Simulink | Not Supported | Supported:
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 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:
|
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:
Not Supported: Prebuilt apps and UIs included such as:
|
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:
|
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
|
Supported: All blocks created from Not Supported: Prebuilt apps, UIs, and functions, and blocks that do not support code generation |
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
|
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:
|
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
|
Supported: All command line functionality Not Supported: Prebuilt apps and UIs included in the toolbox
|
Not Supported | |
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:
|
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 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:
|
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:
|
Supported: All blocks that support code generation Not Supported:
|
Robust Control Toolbox | Not Supported | Not Supported |
Supported: All command line functionality Not Supported:
|
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:
|
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:
Not Supported:
|
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 |
Supported: All command line functionality and viewer 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: Prebuilt apps and UIs included in the toolbox Task Execution Time Monitor ( Menu of commands for instrument panels ( |
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 Not Supported: Creation of symbolic expressions such as using |
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:
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:
|
Supported: 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 |
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 |