473,491 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

linking matlab code to java interface

27 New Member
i want to link my matlab code to work on a java interface. i dont know how.
if there is another way to do it like converting the matlab code to java, plz tell me but i guess its too difficult.
anyway im waiting for ur help, thnx :)
Apr 23 '08 #1
2 2025
pronerd
392 Recognized Expert Contributor
Unless this "matlab code" is already written in Java you will not be able to access it with a Java app. You could have the Matlab app save the data you need to a file, and then read that data. The only other option would be if Matlab supports access though a service like JMS, or SOAP.
Apr 23 '08 #2
Laharl
849 Recognized Expert Contributor
One (very) awkward and likely very messy solution is to use Mex to link the MATLAB to C(++) and then use JNI to link that to Java. That said, at that point, you might as well use C/C++ directly to write your application. Sorry I can't be of more help.
Apr 23 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1585
by: Maciek Zywno | last post by:
Hello Experts ! I am to complete some tasks concerning nuumerical methods. I could use matlab to do it, but as I like java I wwould like to try to accomplish these tasks by means of java. I...
7
4200
by: laclac01 | last post by:
So I am converting some matlab code to C++. I am stuck at one part of the code. The matlab code uses fread() to read in to a vector a file. It's a binary file. The vector is made up of floats,...
4
2012
by: Sven Jerzembeck | last post by:
Hello guys, is there any possibiliy using Phython code in Matlab. I couldnt find any helpful stuff. Its not graphical stuff I am doing just calculations with arrays and strings. Thanks for ...
2
12520
by: Binod Pant | last post by:
Does any one know of a way to call MATLAB from PHP/Perl? I found the Perl module Math:MATLAB , but it seems not to work on Windows, and it's not easy to install and use. This would enable one to...
8
2103
by: Allen | last post by:
Does anyone agree with me? If you have used Matlab, welcome to discuss it.
4
13709
by: itcecsa | last post by:
Hi, I am implementing a small Python project, what I am going to do is to open Matlab and run some M-files, and get some output from Matlab command prompt. I have no idea how to open Matlab...
1
2208
by: ataeft | last post by:
does any body know how to connect MATLAB 2008 with VISUAL C++ 2008? The files which are produced by MATLAB compiler 4.8 are not working in VISUAL C++ 2008!! During building the project in visual...
14
3111
by: Luna Moon | last post by:
Dear all, Can C++/STL/Boost do the vectorized calculation as those in Matlab? For example, in the following code, what I really want to do is to send in a vector of u's. All other...
4
2211
by: Claire Mouton | last post by:
Hi, I would like to call Python functions from Matalab. How could I find an interface from Matlab to Python? Cheers, Claire
0
7115
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7154
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
4881
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4578
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3086
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3076
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1392
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
280
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.