User`s guide

A Examples
Quick Start
“Example: Magic
Square” on page 1 -15
Handling Data
“Code Fragment: Passing an MWArray” on page 3-7
“Code Fragment: Passing a Java Double Ob je ct” on p age 3-8
“Code Fragment:
Passing an M WArray” on page 3-8
“Code Fragment: Passing Variable Numbers of Inputs” on page 3-10
“Code Fragment: Passing Array Inputs” on page 3-11
“Code Fragment:
Passing a Variable Number of Outputs” on page 3-12
“Code Fragment: Passing Optional Argum ents with the Standard
Interface” on page 3-13
“Code Fragment: Using MWArray Query” on p age 3-16
“Handling Data C
onversion Between Java and MATLAB” o n page 3-28
“Examples of Using set” on page 4-19
“Examples of Using get” on page 4-20
“Examples of U sin
g set and get Metho ds” on page 4-26
“Code Fragment: Signatures Generated for myprimes Example” on page
6-17
Handling Errors
“Code Fragment: Handling an Exception in the Called Function” on page
3-20
“Code Fragment
: H andling an Exception in the Calling Function” on page
3-21
“Code Fragment: Catching General Exceptions” on page 3-22
“Code Fragment: Catching Multiple E xception Types” on page 3-23
A-2