Skip to Main Content Skip to Search
Product Documentation

MATLAB Builder EX Prerequisites

Your Role in the Deployment Process

The table Application Deployment Roles, Goals, and Tasks describes the different roles, or jobs, that MATLAB Builder EX users typically perform. It also describes tasks they would most likely perform when running the examples in this documentation.

You may occupy one or more of the following roles.

Application Deployment Roles, Goals, and Tasks

RoleGoalsTask To Achieve Goal

MATLAB programmer
  • Understand the end-user business requirements and the mathematical models that support them.

  • Build a Microsoft Excel add-in with MATLAB tools.

  • Package the component for distribution to customers.

  • Pass the package to the Microsoft Excel developer for further integration into the end-user environment.

See Creating a Microsoft Excel Add-In and COM Component.

End user
  • Consumes add-in created by MATLAB Programmer.

  • Uses Function Wizard to customize the add-in and create executable macros.

  • May roll out the packaged component and integrate it into the end-user environment.

See Integrating Your Add-In and COM Component with Microsoft Excel

Microsoft Excel developer
  • Roll out the packaged component and integrate it into the end-user environment.

  • Write VB/VBA code to complement or augment the Excel Add-in built by the MATLAB programmer. Add and modify code as needed.

  • Verify that the final application executes reliably in the end-user environment.

See Microsoft Excel Add-in Integration

What You Need to Know

To use the MATLAB Builder EX 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

End user

Moderate to expert user of Microsoft Excel

Microsoft Excel developer

Expert at providing customized Microsoft Excel spreadsheet solutions

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 MATLAB Compiler 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.

If you need information about writing MATLAB files, see the MATLAB documentation.

Be sure to choose a supported compiler. See Supported Compilers.

Macro Execution Security Levels in Microsoft Excel

If you will be creating macros and generating add-ins with MATLAB Builder EX, adjust the security settings accordingly in Microsoft Excel.

Failure to do so may result in add-ins not being generated or warning messages sent to MATLAB Compiler

Depending on what version of Microsoft Office you are using, do one of the following:

Deployment Target Architectures and Compatibility

Before you deploy a component with MATLAB Builder EX, 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.

For example, if you have a 64-bit system, you usually install a 64-bit version of MATLAB (and most other applications), by default. Running functions you have developed with a 64-bit version of MATLAB requires a Function Wizard installed with a 64-bit version of Microsoft Excel.

Migration Considerations for 32-bit and 64-bit Microsoft Excel

If you are migrating to the 64-bit version of Microsoft Excel, you must uninstall the 32-bit version of MATLAB Builder EX before installing the 64-bit version of Microsoft Excel.

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...See...
Want to verify your MATLAB code or function can be deployed successfullyMATLAB Code Deployment
Know your function is deployable and want to select a Getting Started workflowChoosing the Appropriate Workflow

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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