**- Undocumented Matlab - http://undocumentedmatlab.com -**

New book: Undocumented Secrets of MATLAB-Java Programming

Posted By __Yair Altman__ On November 17, 2011 @ 9:14 am In __Java,Medium risk of breaking in future versions,Undocumented feature,Undocumented function__ | __14 Comments__

I am extremely pleased to announce that after five years of research and hard work, my book on **Undocumented Secrets of Matlab-Java Programming** is finally published.

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 fine programming platform for prototyping, it is not suitable for real-world, modern-looking applications.

* Undocumented Secrets of Matlab-Java Programming* (CRC Press, ISBN 9781439869031

This book shows how using Java can significantly 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. Within the book’s 700 pages, thousands of code snippets, hundreds of screenshots and ~1500 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.

This book demonstrates how:

- The Matlab programming environment relies on Java for numerous 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

**No prior Java knowledge is required**. All code snippets and examples are self-contained and can generally be used as-is. Advanced Java concepts are sometimes used, but understanding them is not required to run the code. Java-savvy readers will find it easy to tailor code samples for their particular needs; for Java newcomers, an introduction to Java and numerous online references are provided.

More info about the book ^{[11]}, including detailed Table-of-Contents, book structure and FAQ, can be found on the book’s webpage ^{[11]}.

Use promo code

14 Comments (Open | Close)

Article printed from Undocumented Matlab: **http://undocumentedmatlab.com**

URL to article: **http://undocumentedmatlab.com/blog/matlab-java-book**

URLs in this post:

[1] Image: **http://undocumentedmatlab.com/feed/**

[2] **email feed**: **http://undocumentedmatlab.com/subscribe_email.html**

[3] Image: **http://www.crcpress.com/product/isbn/9781439869031#post-img**

[4] Image: **http://www.crcpress.com/product/isbn/9781439869031#post-banner**

[5] Table of Contents: **http://undocumentedmatlab.com/matlab-java-book/#TOC**

[6] Book organization: **http://undocumentedmatlab.com/matlab-java-book/#Organization**

[7] FAQ: **http://undocumentedmatlab.com/matlab-java-book/#FAQ**

[8] About the author: **http://undocumentedmatlab.com/matlab-java-book/#Author**

[9] Errata list: **http://undocumentedmatlab.com/matlab-java-book/#Errata**

[10] CRC Press, ISBN 9781439869031: **http://www.crcpress.com/product/isbn/9781439869031#post-isbn**

[11] More info about the book: **http://undocumentedmatlab.com/matlab-java-book/**

[12] Get your book copy now: **http://www.crcpress.com/product/isbn/9781439869031#post-cta**

[13] Minimize/maximize figure window : **http://undocumentedmatlab.com/blog/minimize-maximize-figure-window**

[14] Types of undocumented Matlab aspects : **http://undocumentedmatlab.com/blog/types-of-undocumented-matlab-aspects**

[15] Matlab and the Event Dispatch Thread (EDT) : **http://undocumentedmatlab.com/blog/matlab-and-the-event-dispatch-thread-edt**

[16] Advanced JIDE Property Grids : **http://undocumentedmatlab.com/blog/advanced-jide-property-grids**

[17] Customizing menu items part 2 : **http://undocumentedmatlab.com/blog/customizing-menu-items-part-2**

[18] Using pure Java GUI in deployed Matlab apps : **http://undocumentedmatlab.com/blog/using-pure-java-gui-in-deployed-matlab-apps**

Click here to print.

Copyright © Yair Altman - Undocumented Matlab. All rights reserved.

14 Comments To "New book: Undocumented Secrets of MATLAB-Java Programming"

#1 CommentByAurélienOn November 17, 2011 @ 12:24 pmWowwwwwwww

Bravo Yair! Be sure that I will buy this book and promote it !!

Just by seeing the cover of your book , I cannot resist!

Encore une fois bravo!

#2 CommentByYair AltmanOn November 17, 2011 @ 12:29 pm@Aurélien – merci beaucoup

#3 CommentByoroOn November 17, 2011 @ 6:06 pmMoi aussi je suis interessé.

I don’t know anything about Java(I often have hard time understanding your examples on your site) but according on what it says, it should be OK, right ?

It seems to include many examples in the book but are they available in a CD ?

#4 CommentByYair AltmanOn November 17, 2011 @ 6:19 pm@Oro – No, you don’t need to know Java for using the book. Just like you don’t really need to know VB for using COM/ActiveX in Matlab. But perhaps after reading and using the book, you will end up knowing Java without noticing…

There is no CD, and I really don’t think that it is needed: I made a specific effort to reduce the code snippets to the bare minimum, for improved clarity. Most of the code snippets are relatively short, often only a few lines, sometimes up to several dozen lines.

The larger code segments are usually available for download using online reference links that I included in the text. If there is enough user demand then I may include some more online references for download of specific code segments, on the errata page that I will maintain here.

#5 CommentByoroOn November 24, 2011 @ 7:39 pm@Yair Altman Thank you for your reply, I may consider ordering your book

I hope I will be able to know more Java with it too !

#6 CommentBySam RobertsOn November 22, 2011 @ 8:31 amYair, you’ve made my day. Ordering my copy now!

#7 CommentByBrett ShoelsonOn December 6, 2011 @ 8:30 pmHi Yair. I’m looking forward to getting my copy. Just don’t tell anyone!

Cheers,

Brett

#8 CommentByMike WOn December 12, 2011 @ 11:55 amJust got your book! I’ve been wishing you would write something like this for a while. Two questions…

(1) How much overlap is there between the book and the uitable/JTable report that you have available for sale (does the book include everything in the report)? and

(2) do you ever address swapping out an included *.jar on the standard java static path for an upgraded version (I want to use a newer version of Lucene than the one shipped with MATLAB)?

#9 CommentByYair AltmanOn December 12, 2011 @ 5:03 pm@Mike, the book covers almost the entire report, except a few additions/fixes that are newer in the report. Also, the report is softcopy PDF, so you can copy/paste/search. The report is also in full color. On the other hand, the book contains a lot of other stuff, so they complement one another.

Re the jar, I discuss jars in general but not the specific question you asked. If you read the book you should be able to handle this task.

#10 CommentByArno NymusOn December 12, 2011 @ 1:49 pmAh, finally a possibility to support your work.

Donating from a company would have involved some serious paper work (if it’s even possible), but buying a book is easy.

Currently only pre-order in Germany, but it says “First Edition 12.Dec.”, so it should be available any moment.

#11 CommentByYair AltmanOn December 16, 2011 @ 6:59 am@Arno – correct. The book started shipping in North America on Dec 5, and several hundred copies were shipped already, I’m told. I understand that copies in Europe are shipped from the UK branch, and this started a few days ago.

#12 CommentBySteve COn December 15, 2011 @ 9:56 amI just received the book yesterday and am looking forward to reading it. I tried to type in the URL for the “book’s website” found on page xviii and it comes back ‘Not Found’ with a search form. I suppose its too early for the errata list to be published but I was hoping that perhaps I could bookmark the link for later reference. Having access to some of the URL’s that the book refers to, or even some of the larger code examples from the text would also be great. Thanks for a great book!

#13 CommentByYair AltmanOn December 16, 2011 @ 6:38 am@Steve – thanks for alerting me. I had made a stupid mistake in the redirection clause on the server that caused this. It’s now fixed (and links to

^{[11]}). The errata part will be added in a few weeks, so stay tuned.#14 CommentByHéctorOn January 18, 2012 @ 3:20 amI saw the post today, and 5 minutes later… I have just buy mine on CRC Press Online… Great, well done.