| Contents | Index |
| On this page… |
|---|
Your Role in the Application Deployment Process Products, Compilers, and IDE Installation Deployment Target Architectures and Compatibility |
Depending on the size of your organization, you play one role, or many, in the process of successfully deploying a standalone application or shared library.
For example, you analyze user requirements and satisfy them by writing a program in MATLAB code. You can also implement the infrastructure to deploy an application to users in computing environments different from your own. In smaller organizations, you find one person responsible for performing tasks associated with multiple roles. The table Application Deployment Roles, Tasks, and References describes some of the different MATLAB Compiler roles or jobs. It also describes which tasks you would most likely perform when running The Magic Square Example in this chapter.
Note If you are using a non-Windows operating system, "console applications" are referred to as "standalone applications". |
Application Deployment Roles, Tasks, and References
| Role | Knowledge Base | Responsibilities | Task To Achieve Goal |
|---|---|---|---|
|
|
|
| Creating a Standalone Application or Shared Library From MATLAB Code |
|
|
|
| Distributing Your Standalone Application or Shared Library |
|
|
|
| Not Applicable |
To use the MATLAB Compiler product, specific requirements exist for each user role.
| Role | Requirements |
|---|---|
|
|
|
|
|
|
Install the following products to run the example described in this chapter:
MATLAB
MATLAB Compiler
For more information about product installation and requirements, see Installation and Configuration.
The first time you use MATLAB Compiler, after starting MATLAB, run the following command:
mbuild -setup
For more information about mbuild -setup, see Installation and Configuration.
Before you deploy a component with MATLAB Compiler, consider if your target machines are 32-bit or 64-bit.
Applications developed on one architecture must be compatible with the architecture on the system where they are deployed.
Before you deploy your code, examine the code for dependencies on functions that may not be compatible with MATLAB Compiler.
For more detailed information about dependency analysis (depfun) and how MATLAB Compiler evaluates MATLAB code prior to compilation, see MATLAB Code Deployment in the MATLAB Compiler User's Guide.
| If you want to... | See... |
|---|---|
| Deploy a standalone application in C or C++ | |
| Deploy a shared library in C or C++ | |
| Learn more about standalone applications and shared libraries | Supported Compilation Targets |
| Verify your MATLAB code is deployable | MATLAB Code Deployment |
![]() | Product Overview | The Magic Square Example | ![]() |

Learn how to build standalone executables and C/C++ shared libraries from MATLAB code.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |