Deploying MATLAB Based Applications - .NET Edition


MATLAB Fundamentals and basic working knowledge of the C# programming language

View details

Day 1 of 1
Deployment Options

Objective: Become familiar with various deployment options using MATLAB Compiler and compiler-based tools.

  • Application deployment process
  • Builder products overview
  • MATLAB Builder EX
  • MATLAB Builder NE
  • MATLAB Builder JA
  • Compiler architecture components
  • Desktop deployment components and workflow
  • Web deployment components
MATLAB Compiler

Objective: Use Deployment Tool to create standalone executables from MATLAB files.

  • Configuring the environment
  • Building standalone executables
  • Handling inputs
  • Handling GUI wrappers
  • Packaging the application
  • Desktop deployment components
  • MATLAB Compiler Runtime (MCR)
  • Deploying to a network drive
Integrating MATLAB Code with .NET Applications

Objective: Build a .NET software component from MATLAB code and incorporate the component into a .NET application.

  • The build process
  • Writing and testing the MATLAB code
  • Creating a MATLAB based .NET assembly
  • Building the .NET assembly
  • Writing the .NET application
  • Importing the MATLAB based assembly
  • Building and running the .NET application
.NET Components with Inputs and Outputs

Objective: Incorporate MATLAB based .NET components that send and receive inputs and outputs to and from a .NET application.

  • .NET component input and output
  • Creating a MATLAB based .NET assembly
  • Building the .NET assembly
  • Using MWArrays for inputs
  • MWNumericArray class
  • MWCharArray class
  • Using MWArrays for outputs
  • Building and running the .NET application
  • Working with cell arrays
  • Working with structures
.NET Component Interface Considerations

Objective: Incorporate MATLAB based .NET components with variable number of inputs.

  • .NET application with variable number of inputs
  • Creating an array of inputs
  • Memory management
  • Understanding the MCR
  • Calling components remotely
Web Deployment

Objective: Incorporate MATLAB based .NET components into web applications and display MATLAB-generated graphics on a web page using the ASP.NET framework.

  • Web application architecture
  • Web deployment process
  • Creating a web application project
  • Writing the ASPX form
  • Writing the code-behind file
  • Building and running the web application
  • Graphics with the WebFigure object
  • WebFigureControl object
  • Using WebFigure object
  • Building and running the graphical web application