Skip to Main Content Skip to Search
Product Documentation

MATLAB Compiler Prerequisites

Your Role in the Application Deployment Process

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.

Application Deployment Roles, Tasks, and References

RoleKnowledge BaseResponsibilitiesTask To Achieve Goal

MATLAB programmer
  • MATLAB expert

  • No IT experience

  • No access to IT systems

  • Develops models; implements in MATLAB

  • Serves as tool builder

  • Uses tools to create a component that is used by the C or C++ programmer

Creating a Standalone Application or Shared Library From MATLAB Code

C/C++ developer
  • Little to no MATLAB experience

  • Moderate IT experience

  • C/C++ expert

  • Minimal access to IT systems

  • Integrates deployed component with the rest of the C or C++ application

  • Integrates deployed MATLAB Figures with the rest of the C or C++ application

Distributing Your Standalone Application or Shared Library

End user
  • No MATLAB experience

  • Some knowledge of the data that is being displayed, but not how it was created

  • In Web environments, consumes what the front-end developer creates

  • Integrates MATLAB code with other third-party applications, such as Excel

Not Applicable

What You Need to Know

To use the MATLAB Compiler product, specific requirements exist for each user role.

RoleRequirements

MATLAB programmer
  • A basic knowledge of MATLAB, and how to work with:

    • MATLAB data types

    • MATLAB structures

C/C++ developer
  • Exposure to:

    • Exposure to the C or C++ programming languages

    • Procedural or object-oriented programming concepts

Products, Compilers, and IDE Installation

Install the following products to run the example described in this chapter:

For more information about product installation and requirements, see Installation and Configuration.

Compiler Selection with mbuild -setup

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.

Deployment Target Architectures and Compatibility

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.

Dependency and Non-Compilable Code Considerations

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.

For More Information

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 librariesSupported Compilation Targets
Verify your MATLAB code is deployableMATLAB Code Deployment

  


Free MATLAB Compiler Interactive Kit

Learn how to build standalone executables and C/C++ shared libraries from MATLAB code.


Get free kit

Trials Available

Try the latest version of MATLAB Compiler.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS