Reputation: 819
I am using a function called "findpeaks" from signal processing toolbox in my source code. The source code is then packed into a jar file to be launched from Java on a different machine. Java invokes MRC to perform its execution which ends with following exception:
Undefined function 'findpeaks' for input arguments of type 'double'
What could be the possible cause of this exception.?
Upvotes: 0
Views: 335
Reputation: 154
I had the same problem.
I managed to include it this way.
Copy the findpeaks.m and its dependency (chkinputdatatype.m) from SPT to your current directory.
Donot forget to include all the toolboxes used in program while compiling.
Thanks.
Upvotes: 0