All Questions
13 questions
0
votes
1
answer
41
views
java spring apllication integration with matlab playground
I have an java-spring-angular application where i would like to introduce matlab plaground. I am using GNU octave(https://www.gnu.org/software/octave/index) for executing matlab code. Is there a ...
0
votes
0
answers
49
views
Java application progress bar color changed while running in Matlab
I am applying a JAVA application with Matlab. When I test my program in Eclipse, everything is fine, the progress bar is showing in desired color. But when I call this JAVA application(through jar ...
0
votes
1
answer
203
views
Can Java use MATLAB methods provided host machine only has MATLAB Runtime
I am trying to call some of the functions of MATLAB via Java.
What I have on my local machine is MATLAB Runtime(64 bit) and Java 8 64 bit.
Following piece of code gives an error.
Code
//Start ...
4
votes
2
answers
989
views
GZIP in Matlab for big files
I have a function that unpacks a byte array Z that was packaged using the zlib library (adapted from here).
The packed data size is 4.11 GB, and the unpacked data will be 6.65GB. I have 32GB of ...
2
votes
1
answer
473
views
Why can't I execute different Matlab functions from Java concurrently?
I have two Java Servlets: DataFetcherServlet and UploaderServlet. Both servlets call 2 different Java methods which in turn call their corresponding Matlab functions through JNI, and each of which was ...
-1
votes
1
answer
84
views
How can I process a sound signal using matlab, get the frequencies and use it on java?
I'm new to signal processing and i'm developing an application that involves extracting pitch of a sound playing wav file, tried a few approaches to directly extract pitch using java (using FFT and ...
0
votes
0
answers
436
views
Matlab stdout and stderr?
I can create standard output and standard error in Matlab using:
fprintf(1, "This is output"); and
fprintf(2, "This is an error");
Question: How can I collect those logs (streams) from Matlab using ...
2
votes
1
answer
35
views
MATLAB: Reading returned array of java objects [closed]
I have an custom java object that returns an array of Thing java objects. How can I convert and iterate over the returned array as java objects in matlab? Currently, it doesn't look like the returned ...
0
votes
1
answer
278
views
MATLAB JA Builder
When I run the program in Netbean, it shows the following message. What can I do to solve this problem?
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError:
Failed to find the ...
1
vote
1
answer
487
views
Matlab doesn't see changes in java class when recompiled
I work with Matlab and try to launch java class from it.
So I add the path of java class to the classpath.txt in Matlab. Then I create an object of the java class HelloWorld and it works perfectly:
o ...
8
votes
2
answers
968
views
How to execute "collapse-all-folds" in the MATLAB editor programatically?
I've been struggling with the problem in the subject for a bit longer than I'd like to admit.
I'm attempting to programatically execute the same Action that occurs when the user either clicks on the ...
1
vote
1
answer
180
views
MATLAB : access uigetdir's internal java methods
When using the standard dir dialog box from MATLAB uigetdir, double-clicking on a directory leads to the dialog box entering it and displaying its contents. To actually select it, you have to click on ...
1
vote
2
answers
848
views
how to catch java exception from MATLAB code
when I call myFunction(test) it goes correctly but throws java exception
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
and I would like to catch it and/or catch any java ...