Main Content
Appropriate Tasks for MATLAB Compiler Products
MATLAB® Compiler™ and MATLAB Compiler SDK™ let you run your MATLAB application outside the MATLAB environment. However, they are not appropriate for all external tasks you may want to perform. Some tasks require other products or MATLAB external interfaces. Use the following table to determine which product is appropriate to your needs.
Task | MATLAB Compiler | MATLAB Compiler SDK | MATLAB Coder™ | Simulink® | HDL Coder™ | MATLAB External Interfaces |
---|---|---|---|---|---|---|
Package MATLAB applications for deployment to users who do not have MATLAB | ■ | ■ | ||||
Package MATLAB programs as standalone applications, web apps, Microsoft® Excel® Add-ins, Docker® images, and MapReduce or Spark™ big data applications | ■ | |||||
Package MATLAB programs as C/C++ shared libraries, .NET assemblies, Java® classes, Python® packages, COM components, and Docker container-based microservices | ■ | |||||
Generate readable and portable C/C++ code from MATLAB code | ■ | |||||
Generate MEX functions from MATLAB code for code verification and acceleration | ■ | |||||
Integrate MATLAB code into Simulink | ■ | |||||
Generate hardware description language (HDL) from MATLAB code | ■ | |||||
Integrate custom C code into MATLAB with MEX files | ■ | |||||
Call MATLAB from C and Fortran programs | ■ | |||||
Task | MATLAB Compiler | MATLAB Compiler SDK | MATLAB Coder | Simulink | HDL Coder | MATLAB External Interfaces |
Note
Components generated by MATLAB Compiler and MATLAB Compiler SDK cannot be used in the MATLAB environment.