|
Course Highlights
This one-day course focuses on using MATLAB Compiler and MATLAB Builder NE (for Microsoft .NET Framework). Through the use of hands-on examples and exercises, the course explores building .NET applications and Web applications that incorporate MATLAB code and creating standalone applications from MATLAB code. Topics include:
- Deployment options
- MATLAB Compiler
- Integrating MATLAB code with .NET applications
- .NET components with inputs and outputs
- .NET component interface considerations
- Web deployment
Course Objectives
The aim of the course is to provide basic knowledge for participants to use MATLAB Complier and MATLAB Builder NE effectively.
Duration
1 day
Prerequisites
Attended "Comprehensive MATLAB" or equivalent experience wth MATLAB basic working and knowledge of the C# programming language .
Course Outline
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 executable from MATLAB files.
- Configuring the Environment
- Building Standalone Executable
- 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/from a .NET application.
- .NET Component Input/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 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 WebFigure Object
- WebFigureControl Object
- Using WebFigure Object
- Building and Running the Graphical Web Application
|
|