Skip to Main Content Skip to Search
Product Documentation

Examples


Use this list to find examples in the documentation.

Hello World (Quick Start)

Quick Start: Deploying a Component with the Hello World Example

Using Load and Save

Using Load/Save Functions to Process MATLAB Data for Deployed Applications

Importing Classes

Importing Classes

Instantiating a Java Class

Code Fragment: Instantiating a Java Class

Using MWNumericArray

Code Fragment: Using MWNumericArray

Handling Data

Code Fragment: Passing an MWArray
Code Fragment: Passing a Java Double Object
Code Fragment: Passing an MWArray
Code Fragment: Passing Variable Numbers of Inputs
Code Fragment: Passing Array Inputs
Code Fragment: Passing a Variable Number of Outputs
Code Fragment: Passing Optional Arguments with the Standard Interface
Code Fragment: Using Java Reflection
Code Fragment: Using MWArray Query
Code Fragment: Using toType Array Methods
Code Fragment: Passing a Java Object into a MATLAB Builder JA Component
Code Fragment: Cloning an Object Inside a Builder Component
Code Fragment: Passing a Date into a Component and Getting a Date from a Component
Returning Java Objects Using unwrapJavaObjectRefs
Handling Data Conversion Between Java and MATLAB
Code Fragment: Signatures Generated for the myprimes Example

Automatic Data Conversion

Code Fragment: Automatic Data Conversion
Phonebook Example

Calling MWArray Methods

Code Fragment: Calling MWArray Methods

Handling Errors

Code Fragment: Handling an Exception in the Called Function
Code Fragment: Handling an Exception in the Calling Function
Code Fragment: Catching General Exceptions
Code Fragment: Catching Multiple Exception Types

Handling Memory

Code Fragment: Using dispose
Code Fragment: Using try-finally to Ensure Resources Are Freed

Supplying Run-Time Configuration Information for Parallel Computing Toolbox Applications

Supplying Run-Time Profile Information for Parallel Computing Toolbox Applications

Ensuring a Consistent GUI Appearance

Code Fragment: Setting DisableSetLookAndFeel

COM Components

Blocking Execution of a Console Application that Creates Figures

Using waitForFigures to Block Execution of a Console Application

Code Fragment: Using waitForFigures to Block Execution of a Console Application

Sample Applications (Java)

Plot Example
Spectral Analysis Example
Matrix Math Example
Optimization Example
Web Application Example

Working with WebFigures

Quick Start: Implementing a Custom WebFigure
Installing WebFigureService
Getting the WebFigure Object from Your Method
Attaching a WebFigure
Getting an Embeddable String That References a WebFigure Attached to a Cache

Creating and Modifying a MATLAB Figure

Creating and Modifying a MATLAB Figure

Working with Figures

Working with Figures

Working with Images

Working with Images

Using RMI

Running the Client and Server on a Single Machine
Running the Client and Server on Separate Machines

  


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