Skip to main content

All Questions

Tagged with
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 ...
user10478566's user avatar
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 ...
DarkSoul's user avatar
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 ...
Abhishek Singh's user avatar
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 ...
Gelliant's user avatar
  • 1,845
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 ...
Trash Can's user avatar
  • 6,824
-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 ...
dav191's user avatar
  • 75
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 ...
Amritbir Singh Gill's user avatar
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 ...
Jonno_FTW's user avatar
  • 8,829
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 ...
LSY's user avatar
  • 11
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 ...
Macaronnos's user avatar
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 ...
Dev-iL's user avatar
  • 24.2k
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 ...
Parker Lewis's user avatar
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 ...
lola's user avatar
  • 5,799