Skip to Main Content Skip to Search
Home |   Select Country  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Industries Academia Support User Community Company

 

Training - Courses

ML06: Deploying MATLAB-Based Applications - Java Edition

This course focuses on MATLAB Compiler and MATLAB Builder JA. Through the use of hands-on examples and exercises, the course explores building Java applications and Web applications that incorporate MATLAB-based code. The course also covers creating standalone applications from the MATLAB-based code.

Topics include:

  • Deployment Options
  • MATLAB Compiler
  • Deploying Applications using the MCR
  • Integrating MATLAB Code with Java Applications
  • Java Components with Inputs and Outputs
  • Java Component Interface Considerations
  • Web Deployment
VIEW SCHEDULE and Register SHARE with Manager/Colleague
 
 Detailed course outline

 

Day 1 of 1
Introduction

Objective:

  • Overview of The MathWorks and MATLAB
  • Discuss course set-up, materials, and logistics
  • Provide a “big picture” view of the course ahead
Deployment Options

Objective: Describe various deployment options using MATLAB Compiler and Compiler-based tools.

  • Overview of MATLAB Compiler
  • Development/Deployment Process Overview
  • Deploying with MATLAB
  • MATLAB Compiler
  • The Builder products – Overview
  • MATLAB® Builder™ EX
  • MATLAB® Builder™ NE
  • MATLAB Builder JA
  • Desktop deployment options
  • Web deployment options
  • Summary
MATLAB Compiler

Objective: Use deploytool to create standalone executable from M-files.

  • Overview of the MATLAB Compiler
  • Building a standalone executable
  • Configuring the environment
  • Compiler outputs
  • Deployment workflow
  • Summary
Deployment Process

Objective: Understand the deployment process

  • Deployment Process Overview
  • Components Required for Deployment
  • MATLAB Compiler Runtime (MCR)
  • Installing MCR
  • MCR and MATLAB on the Same Machine
  • Running Applications with MCR
  • Deploying on a Network Drive
Integrating MATLAB Code with Java Applications

Objective: This section introduces the steps for building a Java software component from MATLAB code, and then incorporating that component into a Java application. The section outlines all steps in creating a full Java application integrating the component.

  • The build process
  • Writing and testing M-code
  • Creating a Java component
  • Using Java components in an application
  • Building the Java application
  • Setting the Java classpath
  • Running the Java application
Java Components with Inputs and Outputs

Objective: This section explores passing inputs and receiving outputs from Java components. Working with the mwArray data type in Java will be the focus for the chapter.

  • Java Component Input/Output
  • Building the Java Component
  • Using MWArrays for Input
  • Navigating the Javadoc for MWArrays
  • Creating and Using MWNumericArrays
  • Creating and Using MWCharArrays
  • Using MWArrays for Output
  • Building/Running the Java Application
  • Working with Other Data Types
Java Component Interface Considerations

Objective: There are several features of the MATLAB interface available for use in a Java software component. This section examines use of some commonly-used features such as variable inputs and outputs as well as error handling.

  • Interface Features
  • Writing and Testing M-Code
  • Building the Java Component
  • Variable Input and Output Arguments
  • The MWException Class
  • Memory Management
  • Understanding the MCR
  • Building/Running the Java Application
Web Deployment

Objective: This section outlines the process for deploying a Web application using a Java component inside a Java Servlet. The section also discusses displaying MATLAB-generated graphics on a Web page.

  • Web Application Architecture
  • Building the Java Component
  • Writing a Java Servlet
  • Writing an HTML Form
  • Writing an XML Descriptor
  • Creating a Web Archive File
  • Deploying a Web Archive
  • Running the Application from a Web Browser
  • Using Graphics with the Web Figures Object

 


Prerequisites

Working knowledge of MATLAB (MATLAB Fundamentals and Programming Techniques (ML01) fulfills this requirement.) Basic working knowledge of the Java programming language. Familiarity with Web applications is helpful, but not required.

Course Length - 1  day

Price - $550.00

Request training
E-mail this page
Print this page

2008 Training Course Brochure

Exciting new courses and training options available now.