23.06.2015 Views

MATLAB Programming

MATLAB Programming

MATLAB Programming

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Java Classes<br />

Java Classes<br />

<strong>MATLAB</strong> provides an interface to the Java programming language that<br />

enables you to create objects from Java classes and call Java methods on<br />

these objects. A Java class is a <strong>MATLAB</strong> data type. Native and third-party<br />

classes are already available through the <strong>MATLAB</strong> interface. You can also<br />

create your own Java class definitions and bring them into <strong>MATLAB</strong>.<br />

The <strong>MATLAB</strong> Java interface enables you to<br />

• Access Java API (application programming interface) class packages that<br />

support essential activities such as I/O and networking<br />

• Access third-party Java classes<br />

• Easily construct Java objects in <strong>MATLAB</strong><br />

• Call Java object methods, using either Java or <strong>MATLAB</strong> syntax<br />

• Pass data between <strong>MATLAB</strong> variables and Java objects<br />

Read more about Java classes in <strong>MATLAB</strong> in “Calling Java from <strong>MATLAB</strong>” in<br />

the <strong>MATLAB</strong> External Interfaces documentation.<br />

2-119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!