MATLAB Compiler

Build standalone executables and web apps from MATLAB programs

MATLAB Compiler™ enables you to share MATLAB® programs as standalone applications and web apps. With MATLAB Compiler you can also package and deploy MATLAB programs as MapReduce and Spark™ big data applications and as Microsoft® Excel® Add-ins. End users can run your applications royalty-free using MATLAB Runtime.

To provide browser-based access to your MATLAB web apps, you can host them using the development version of MATLAB Web App Server™ included with MATLAB Compiler. MATLAB programs can be packaged into software components for integration with other programming languages (with MATLAB Compiler SDK™). Large-scale deployment to enterprise systems is supported through MATLAB Production Server™.

To generate C and C++ source code from MATLAB, use MATLAB Coder™.

Get Started:

Standalone Applications

Share MATLAB programs as standalone applications with colleagues, partners, clients, and others who may not otherwise need MATLAB.

Create Standalone Applications

Create standalone applications from your MATLAB programs and share them royalty-free with other users. To create standalone applications from Simulink® simulations, use Simulink Compiler™. Standalone applications can be complete apps that use MATLAB graphics and UIs designed with MATLAB App Designer or GUIDE, or they can be command-line executables.

Solar analysis application created in MATLAB and packaged for sharing using MATLAB Compiler.

Define Custom Input and Output Formats

You can define user inputs for your applications and choose how results are presented using all output formats that MATLAB supports, including text, numeric, and graphical formats.

Standalone application with custom inputs and supported output formats.

Web Apps

Package MATLAB programs as web apps and share them using unique URLs.

Create Web Apps

Create MATLAB apps using App Designer and package them as web apps. Users can access each web app via a unique URL directly from their browser without installing any additional software. Use Simulink Compiler to include Simulink simulations within a web app.

Host Web Apps

Use the development version of MATLAB Web App Server provided with MATLAB Compiler to host your MATLAB web apps and share them with users in your trusted intranet environment. For additional capabilities, including authentication and support for apps developed in different releases of MATLAB, use MATLAB Web App Server.

Host and share web apps with MATLAB Web App Server.

Microsoft Excel Add-ins

Share MATLAB programs as Microsoft Excel Add-ins and integrate them into Excel by dragging and dropping them into spreadsheets. Excel users do not need to know MATLAB to make use of the Add-ins.

Create New Formulas

Create custom functions for Microsoft Excel by packaging MATLAB programs as Excel Add-ins. Excel users can access custom functions just as they would any native Excel function. Use interactive tools in MATLAB Compiler to test your code before packaging and deploying it as an add-in.

Enable Custom Analyses and Simulations

Create Excel Add-ins to perform analyses and simulations within Excel that incorporate algorithms, visualizations, and user interfaces developed in MATLAB.

Solar Analysis coefficient formula and graphical output from an Excel add-in created and shared using MATLAB Compiler.

Big Data Applications

Package and deploy MATLAB based big data applications to run on workstations and large-scale compute clusters.

Create and Execute Tall Array Applications

Create and execute standalone MATLAB applications with tall arrays against Apache Spark™ enabled Hadoop® clusters. You can also create and execute MATLAB applications against Spark using the MATLAB API for Spark.

Create and Execute MapReduce Applications

Create standalone MATLAB MapReduce applications to run against a Hadoop cluster. You can also create deployable archives from MATLAB map and reduce functions and incorporate them into a Hadoop mapreduce job.

Creating and running a standalone MATLAB MapReduce application.

Automate MATLAB Runtime Installations on Big Data Platforms

Configure your big data platform to automatically download MATLAB Runtime and deploy your MATLAB based MapReduce or Spark applications for data analytics and big data processing.

Encrypted, Royalty-Free Sharing

Share packaged MATLAB applications or components with MATLAB Runtime.

Deploy MATLAB Analytics to Users Who Do Not Need MATLAB

All applications and add-ins created with MATLAB Compiler are executed using MATLAB Runtime, a collection of shared libraries and code that enables you to share MATLAB programs internally with decision makers and colleagues, or externally with clients and customers. You can package your application with MATLAB Runtime or have your users download it when they install your application.   

Developing and deploying a comprehensive risk management solution for energy markets.

Cross-Platform Deployment

Develop applications on one platform and deploy them to a server or workstation running on any other supported platform. Your end users can install and run the applications on any MATLAB Runtime supported platform.

Transient Heat Conduction web app developed on Windows and running on a Linux server.

Benefit from Encrypted MATLAB Code

MATLAB Compiler encrypts your MATLAB code files, so your source code remains hidden from users of your applications.

Industry standard encryption applied at the packaging phase.

Packaging Tools

Simplify the process of packaging and sharing MATLAB programs with other users.

Use Interactive Packaging Tools

Use MATLAB Compiler apps to interactively package your MATLAB applications. You can package them as standalone applications, web apps, MapReduce and Spark applications, and Excel Add-ins. Alternatively, use command-line tools for scripted packaging.

Apps for packaging MATLAB applications.

Customize Installers

Create a customized installer for your application with information such as author, splash screen, and version number. The packaging apps automatically identify and select files that are dependent on your main MATLAB application and provide options to package these files along with additional data into your final application.

Customizing your application installer to suit your requirements.

Latest Features

New command-line interface

Use compiler.build to generate standalone applications, web apps, and production server archives

Docker support

Use compiler.package.docker to package a standalone application and corresponding MATLAB Runtime components as docker images (Linux OS only)

See the release notes for details on any of these features and corresponding functions.