Java and Matlab (how to interface the two)

Started by c r in Matlab DSP15 years ago

I am currently working with a package that was put out by the University of Maine that controls a framegrabber via java using...

I am currently working with a package that was put out by the University of Maine that controls a framegrabber via java using mathematica.  However, I need to envoke the same set of java files he is using in matlab.  I need to know how to bring in the java methods and how to access the variables (l


Java with MatLab

Started by narokel in Matlab DSP15 years ago

Hi there, I would very much like some help with integrating Java and MatLab. Specifically, I would like to call MatLab...

Hi there, I would very much like some help with integrating Java and MatLab. Specifically, I would like to call MatLab functions from my Java program. I would also like to store the results of the MatLab functions in variables, to be used in my Java program


Matlab Distributed Computing Toolbox Problem

Started by in Matlab DSP10 years ago

Hi group members; =20 I am using Matlab r2007b and get the following error: =20 Exception in thread "AWT-EventQueue-0"...

Hi group members; =20 I am using Matlab r2007b and get the following error: =20 Exception in thread "AWT-EventQueue-0" java.util.MissingResourceException: = Can't find resource for bundle java.util.PropertyResourceBundle, key action= .r=B9ght at java.util.ResourceBundle.getObject(Unknown Source) at java.util.ResourceBundle.getString(Unknown Source) at com.mathworks.toolbox.distcomp.par...


Matlab files to JAVA files

Started by shivramangiri in Matlab DSP13 years ago

Hi all, I have developed an application in MATLAB. Is there a way to convert this application into JAVA code. ? Or rather,...

Hi all, I have developed an application in MATLAB. Is there a way to convert this application into JAVA code. ? Or rather, has anyone come across any means of establishing a link between MATLAB and JAVA ? Thanx in advance Regards shivraman


java frontend and posting the results back to the matlab

Started by swetha_kal in Matlab DSP14 years ago

hello, i want to have a java frontend which takes in some input variables and then i post them back into matlab environment and...

hello, i want to have a java frontend which takes in some input variables and then i post them back into matlab environment and then again display the results in java frontend. can anybody help me how start proceeding!!!!!!!and is this feasible at all?????? i appreciate i


Java Initialization problem with Mathlab

Started by Phanikrishna in Matlab DSP14 years ago

Can someone help me with this... I have a Windows 2000 Matlab gives an error while intializing with the dialog box title...

Can someone help me with this... I have a Windows 2000 Matlab gives an error while intializing with the dialog box title "Java Intialization Failed" and the error message reads "Check MATLAB installation, possible JAVA classpath problem".


intergrate matlab and java

Started by heepie gurl in Matlab DSP10 years ago

hi, if there is anyone that can tell me how to call .m file from java class? I have a GUI in java, if I click a button in the GUI it will...

hi, if there is anyone that can tell me how to call .m file from java class? I have a GUI in java, if I click a button in the GUI it will automatically call the matlab m file


how to use MATLAB code into java GUI

Started by narendra dhulipalla in Matlab DSP11 years ago

Hi All, Can any one tell me how to use the code written in MATLAB into java code? My intention is to create a one more menu item in java gui...

Hi All, Can any one tell me how to use the code written in MATLAB into java code? My intention is to create a one more menu item in java gui and embed MATLAB code functionality into that. Is this possible? Please try to answer this query. Thanks in Advance Narendra Dhulipalla. Thanks and Regards Narendra Dhulipalla Success is not final, failure is not fatal: it is the courage to...


matlab to java

Started by spintronicus in Matlab DSP14 years ago

Hello, I need help about this : How can I convert matlab results into java. What I really want to do is: I build a website....

Hello, I need help about this : How can I convert matlab results into java. What I really want to do is: I build a website. Visitors can enter the parameters and then resulted function can be seen. Thanks.. Betty


Help on Java and Matlab

Started by ychen_floyd in Matlab DSP15 years ago 1 reply

Could someone tell me how to invoke self defined Java classes in Matlab 6.x? I set the classpath.txt and was using an individual ...

Could someone tell me how to invoke self defined Java classes in Matlab 6.x? I set the classpath.txt and was using an individual class under that path, but I faild to call it in Matlab. I'm using windowsxp, is there some compatibilty problem? Thanks~


call matlab

Started by mouzamazrooei123 in Matlab DSP9 years ago

I use java to call m-file in matlab and that work fine but I want to retrieve the result from matlab and display it in java.If any one have source...

I use java to call m-file in matlab and that work fine but I want to retrieve the result from matlab and display it in java.If any one have source code for that plz help me. Thank you.


dynamic time warping

Started by Lal Prasad in Matlab DSP14 years ago

hi, i'm doing aproject on voice recognition.java module is used for sound capturing and sampling and all are done by matlab.let...

hi, i'm doing aproject on voice recognition.java module is used for sound capturing and sampling and all are done by matlab.let me know how the sound written on the disk is taken to matlab as input(both matlaba nd java are running simultaniously).also can any of u contribute s


MATLAB code to C/Java code

Started by shivramangiri in Matlab DSP12 years ago

Hi, I want to convert the matlab code in one of the toolboxes into C code or JAVA code. Is it possible ? Reason: The softwares...

Hi, I want to convert the matlab code in one of the toolboxes into C code or JAVA code. Is it possible ? Reason: The softwares writtn in matlab are not portable. To run the program u need Matlab. Can someone pls give pointers. regards Shivraman


Converting from java to matlab code

Started by "omnia.mostafa21" in Matlab DSP10 years ago

Hii all, i need you're help in my graduate project, it's a Speech Recognition one. my code is written in java . i need to convert it into...

Hii all, i need you're help in my graduate project, it's a Speech Recognition one. my code is written in java . i need to convert it into a matlab simulink box , or a matlab code.. to burn it in my DSP c6713 DSK. is there a way to make that able without converting the code line by line ?? thanks in advanced .. Omnia Mostafa


how to run .jar file created using matlab

Started by Meenakshi Singh in Matlab DSP11 years ago

Hi All, I need to convert my Matlab programs into Java to make them platform independent, so that the users need not to purchase Matlab. For...

Hi All, I need to convert my Matlab programs into Java to make them platform independent, so that the users need not to purchase Matlab. For this purpose I am using Matlab Java Builder which creates a '.jar' file and whenever i try to run this jar file it gives the following error : "Failed to load Main-Class manifest attribute from ....." I have tried the solutions given on various...


Need help creating a DLL from an M file and accessing its functions from Java

Started by aebeytin in Matlab DSP10 years ago

Hi all, I am attempting to convert a .M script (or function, preferably) to a DLL that I can then access via a Java program. I'm currently...

Hi all, I am attempting to convert a .M script (or function, preferably) to a DLL that I can then access via a Java program. I'm currently using version 7.1, though my solution needs to work with later versions as well. Here's what I have at the moment: File test.m: function [ data ] = test() data = 7; Compiled in MATLAB with the command: mcc -W lib:test -T link:lib test ...


Re: Java Initialization problem with Matlab

Started by Nihal Ahmad in Matlab DSP14 years ago

Hi Phani, Set MATLAB_JAVA variable to both user variable as well as system variable(environmental variable in system properties)....

Hi Phani, Set MATLAB_JAVA variable to both user variable as well as system variable(environmental variable in system properties). It should be set like this... variable name MATLAB_JAVA variable value C:\matlabroot\sys\java\jre\win32\jre where matlabroot is the MAT


GUI's Axes and passing Variables

Started by wiljerin in Matlab DSP15 years ago

Hi ladies and gentlemen: Yesterday I asked some doubts. Thanks for those who answered but I still have the same problem and I...

Hi ladies and gentlemen: Yesterday I asked some doubts. Thanks for those who answered but I still have the same problem and I don't know if my Matlab is a bit damaged (java exceptions, out of memory,etc...) or I'm a little dummy with this. 1) The code I use to put an ima


Algorithm-based Fault Tolerance for LU Decomposition Code

Started by norrizuan in Matlab DSP6 years ago

Hi everyone, I know the work on ABFT on LU Decomposition has started years ago (1980s) but I couldn't find any code sample. Anyone has a...

Hi everyone, I know the work on ABFT on LU Decomposition has started years ago (1980s) but I couldn't find any code sample. Anyone has a suggestion? Matlab, C, C++, JAVA or etc. code is needed for better understanding the method especially the method that involved pivoting. Kind regards, Nor


MATLAB COM BULDER problem!!! big problem!

Started by chuxeei in Matlab DSP11 years ago 1 reply

Guys! I have to create a dll of my matlab function for it to be able to be used in c#.. But the thing is, my MATLAB Com builder won't...

Guys! I have to create a dll of my matlab function for it to be able to be used in c#.. But the thing is, my MATLAB Com builder won't function properly.. I always sends out a java index out of bounds exception... What is the problem with that!??!?! Man, it gives me the headaches.. Anyoune, ideas?? what am I doing wrong? Thanks! chuxeei