| Contents | Index |
| On this page… |
|---|
Your Role in the Application Deployment Process Products, Compilers, and IDE Installation Compiler Selection with mbuild -setup |
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 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 |
|---|---|---|---|
|
|
|
| Magic Square Example: Creating a Standalone Executable or Shared Library From MATLAB Code |
|
|
|
| Magic Square Example: C/C++ Developer Tasks |
|
|
|
| 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 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, and in particular Writing Deployable MATLAB Code in this User's Guide.
| If you want to... | See... |
|---|---|
| Deploy a standalone executable in C or C++ | |
| Deploy a shared library in C or C++ | |
| Verify your MATLAB code is deployable | MATLAB Code Deployment |
| Learn more about standalone executables and shared libraries | Supported Compilation Targets |
![]() | 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 |