Memory and JIT information in MATLAB’s Profiler (see Section 8.7.1)
Invoking MATLAB commands from Java using RMI (see Section 9.4)
JMatLink’s built-in testing GUI (see Section 9.5)
K13163_CI.indd 14 11/3/2011 9:29:29 PM
MATLAB plot generated from Java using JNI/JNA (see Section 9.5)
A horizontal UISplitPane contained within a vertical UISplitPane (see Section 10.1)
K13163_CI.indd 15 11/3/2011 9:29:34 PM
Customizing result plots (see Section 10.2.5)
Dynamic data-tips in the IDS Results window (see Section 10.2.5)
K13163_CI.indd 16 11/3/2011 9:29:37 PM
Undocumented Secrets of
-Java Programming
Yair Altman
You do not need to know Java in order to benefit from it in MATLAB
For a variety of reasons, the MATLAB
-Java interface was never fully documented. This
is really quite unfortunate: Java is one of the most widely used programming languages,
having many times the number of programmers and programming resources as MATLAB.
Also unfortunate is the popular claim that while MATLAB is a ne programming platform
for prototyping, it is not suitable for real-world, modern-looking applications.
Undocumented Secrets of MATLAB
-Java Programming aims to correct this.
This book shows how using Java can signicantly improve MATLAB program appearance
and functionality. This can be done easily and even without any prior Java knowledge.
Readers are led step-by-step from simple to complex customizations. Code snippets,
screenshots and online references are provided to enable the utilization of this book as
both a sequential tutorial and as a random-access reference suited for immediate use.
Java-savvy readers will nd it easy to tailor code samples for their particular needs; for
Java newcomers, an introduction to Java and numerous online references are provided.
This book demonstrates how
The MATLAB programming environment relies on Java for many tasks, including
networking, data-processing algorithms and graphical user-interface (GUI)
We can use MATLAB for easy access to external Java functionality, either third
party or user created
Using Java, we can extensively customize the MATLAB environment and
application GUI, enabling the creation of visually appealing and usable applications
Yair Altman, author of the extremely popular website, is well
respected in the MATLAB community as the de-facto guru on undocumented MATLAB
features and the MATLAB-Java interface in particular. His many years of contributions
on the MATLAB (CSSM) forum and his website, including a multitude of useful tips never
before published, are now available in this highly readable book.
Yair holds a BSc in physics and an MSc in computer science, has over 20 years of
programming experience at various levels of responsibility, and currently consults for
several software development projects.
Yair is married with three children (who would never have allowed him to write this book
had they known in advance the herculean effort that it would take…).
Computer Science & Engineering
K13163_Cover.indd 1 11/3/11 2:57 PM

Get Undocumented Secrets of MATLAB-Java Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.