My java program uses matlab code, packaged as jar files for image processing. The problem is that I call a function (written by me) with a call to "mmreader" for the first time, it works fine. However, any subsequent function call (same or different) that calls "mmreader" does not work, and I get an error message indicating that the mmreader function was not found.
I also encounter a similar problem in another part of my application where calling the matlab function just throws an exception, the same code fragment works fine in other files.
try{
vplayer.playmov(player_params);
}
catch(Exception e){
System.out.println("error playing cluster");
}
meraj source
share