The table Application Deployment Roles, Goals, and Tasks describes the different roles, or jobs, that MATLAB® Compiler™ 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
Role | Knowledge Base | Responsibilities |
---|---|---|
MATLAB programmer |
|
|
Microsoft Excel developer |
|
|
Install the following products to run the example described in this chapter:
MATLAB
MATLAB Compiler
If you will be creating macros and generating add-ins with MATLAB Compiler, 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:
For Microsoft Office 2003:
Click
Tools > Macro > Security.
For Security Level, select Medium.
For Microsoft Office 2007:
Click the 2007 Office ribbon button.
Click Excel Options > Trust Center > Trust Center Settings > Macro Settings.
In Developer Macro Settings, select Trust access to the VBA project object model.
For Microsoft Office 2010:
Click File > Options > Trust Center > Trust Center Settings > Macro Settings.
In Developer Macro Settings, select Trust access to the VBA project object model.
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.
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.
Add-ins created with MATLAB Compiler are not compatible with versions of Microsoft Excel that do not share the same bitness:
Add-ins created with 64-bit versions MATLAB Compiler are only compatible with 64-bit versions of Microsoft Excel.
Add-ins created with 32-bit versions MATLAB Compiler are only compatible with 32-bit versions of Microsoft Excel.
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 Write Deployable MATLAB Code in
the MATLAB Compiler documentation.
If you... | See... |
---|---|
Want to verify your MATLAB code or function can be deployed successfully | Write Deployable MATLAB Code |
Know your function is deployable and want to select a Getting Started workflow | Choosing Function Deployment Workflow |