Sione
Parrot Analytics
Followers: 0 Following: 0
Calling Java from my Matlab script (Matlab R2014a).
I have the following:
--------------------------------------
dpath = 'D:\Users\spal\Documents\spal_matlab_folder\myOwnJarFile.jar';
javaaddpath(dpath);
import ('com.ourdomain.main.*');
[M,X,J] = inmem
timeseries = ...
horiz = 4;
JA = javaMethod('dealWithNegatives','ForecastKthStep',forecast,horiz);
--------------------------------------
The error I have is that Matlab can't find the class "ForecastKthStep" which has the "public static" method named "dealWithNegatives" that takes 2 arguments "forecast" matrix and "horiz" for time horizon.
What am I doing wrong here?
Any tips would be much appreciated.
Cheers.
Statistics
1 Question
0 Answers
RANK
137,822
of 289,889
REPUTATION
0
CONTRIBUTIONS
1 Question
0 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
0
RANK
of 19,604
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 144,256
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Calling Java from Matlab
Calling Java from my Matlab script (Matlab R2014a). I have the following: -------------------------------------- dpath...
9 years ago | 0 answers | 0