Comments on: MATLAB-Java Programming book https://undocumentedmatlab.com/blog_old Charting Matlab's unsupported hidden underbelly Sun, 03 Jul 2022 14:46:57 +0000 hourly 1 https://wordpress.org/?v=4.4.1 By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-334971 Thu, 23 Oct 2014 21:42:35 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-334971 You can use JNI or JMI to access Matlab from Java, but you need to have Matlab installed and running in order to do that – you cannot use the Matlab libraries directly without Matlab running unless you use the Java Builder product (which uses the MCR).

As for an ebook – you can get it from the same place that you get the print book. You can ask your university department library to order a copy of the book.

]]>
By: 吕弯弯https://undocumentedmatlab.com/blog_old/books/matlab-java#comment-334934 Thu, 23 Oct 2014 13:12:03 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-334934 I’m a student from China,now i want to use Matlab’s function library in java project, ask u a question, can i get a matlab library where i can use all the matlab’s functions outside matlab without using “matlab builder for ja”;by the way ,can i read your book? do u have ebook? i am astudent ,i sorry to tell u that i have not enough money to pay for the really book.

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-328804 Wed, 30 Jul 2014 18:32:52 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-328804 @Uche – there are no plans to update the book in the near future. The vast majority of the book remains valid to this very day.

]]>
By: Uchehttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-328801 Wed, 30 Jul 2014 17:39:47 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-328801 Hello Yair,

Any plans to release a new edition of the book “Undocumented Secrets of MATLAB-Java Programming”?

Regards,
Uche

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-328424 Wed, 23 Jul 2014 22:48:11 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-328424 @Trevor – yes it is, excluding a few quirks here and there. The vast majority of the contents still remains relevant to this day.

]]>
By: Trevorhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-328407 Wed, 23 Jul 2014 18:19:07 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-328407 Hi Yair,
I’ve been interested in learning the ins and outs of integrating java into my gui’s for a while now. This book looks great but is the content still supported by more recent matlab versions?

]]>
By: Matthttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-309847 Thu, 16 Jan 2014 22:40:14 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-309847 Thank you for all of your posts and your book. Great Stuff!!

]]>
By: Gauravhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-160252 Wed, 20 Feb 2013 16:16:22 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-160252 I’m getting this error. Can anyone please explain why is this happening….?

Error using .^
Not enough input arguments.

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-158437 Sun, 17 Feb 2013 12:23:03 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-158437 @Gaurav – If you create your GUI in pure Java then you’ll need to use the Matlab Builder for Java toolbox to connect your GUI to Matlab code.

]]>
By: Gauravhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-158410 Sun, 17 Feb 2013 10:03:58 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-158410 Sir,
I would like to know that if I create a GUI using JAVA then on the buttons can the MATLAB code be implemented?
Thank you

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-157709 Fri, 15 Feb 2013 10:29:37 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-157709 @Akash – read here

]]>
By: Akash Garghttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-157688 Fri, 15 Feb 2013 08:39:24 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-157688 Hello sir i want to run timer function in matlab :
m create timer in following way but it not properly executed

handles.t = timer('TimerFcn',{@test_Callback, handles},'Period',1,'ExecutionMode','fixedRate');
function test_Callback(handles)

my main concern is test_Callback uses all variables aur valuse define in main program for which i pass handles but it can’t work
please suggest me some way to do it

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-147112 Sat, 26 Jan 2013 16:26:19 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-147112 @Aim – I am not sure that doing this is in accordance with the Matlab end-user license, so I will not be able to help you here.

]]>
By: Aim Amraamhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-146577 Fri, 25 Jan 2013 15:50:05 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-146577 Hi Yair,

I’ve read the book but I’m not able to modify the icon of uigetfile.

I use for the “figure”:

javaFrame = get(hObject,'JavaFrame');
javaFrame.setFigureIcon(javax.swing.ImageIcon(im2java(imread('icon.jpg'))));

How can I modify the uigetfile icon?

Best Regards,
Aim

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-135456 Sat, 22 Dec 2012 15:43:17 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-135456 @Hongbo – yes, it is possible to do this and the book shows how. It even has a large section showing how to directly call an external Database from Matlab using JDBC.

]]>
By: hongbo zhanghttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-135278 Fri, 21 Dec 2012 19:51:12 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-135278 Is it possible to call Java code from matlab to do some fancy parallel distributed database work?

Matlab database handing is too slow. I also hate that long long sql in Matlab. I want to use JAVA for example Hadoop to do the database work and transfer it back to the Matlab.

I would love to consider buy the book!! Thanks!!

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-126085 Sun, 25 Nov 2012 07:18:47 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-126085 @Akash – you can integrate a browser window in your GUI, pointing the displayed webpage to an RSS feed reader.

]]>
By: Akash Garghttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-126055 Sun, 25 Nov 2012 05:37:50 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-126055 Hi Yair,
Sir is there any way to run rss feeds on matlab gui

]]>
By: Yair Altmanhttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-111253 Tue, 25 Sep 2012 06:26:01 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-111253 @Akash – Auto-complete lists are discussed in page 296 of my book. You can also code such a feature yourself, if you wish.

Re licensing, you may find my article on unique computer ID helpful.

]]>
By: akash garghttps://undocumentedmatlab.com/blog_old/books/matlab-java#comment-111126 Mon, 24 Sep 2012 14:29:54 +0000 https://undocumentedmatlab.com/?page_id=2558#comment-111126 Hi Yair,
sir is there any way to introduced auto-complete feature just like in google search bar. And i had one standalone application created in matlab i want to create license for that is there any way to do same. Please kindly suggest me any way.

]]>