Hi,
I have called Java Class from Matlab . now i want to pass this values in Java Class How i can pass this values ?
My Java Class Below :
if true
% code
public static void recordSample(List<Integer> points){
Sample recordedSample = new Sample //Sample Class Getter and Setter Method
//private List<List<Integer>> matrix; Getter and Setter Method
recordedSample.getMatrix().add(points);
}
end
Now I have called this Method from Matlab Below :
if true
% code
for int i=1:20
if true
% code
matrix{1,i}=[22,33,43,12,43,565,54];
end
end
clear java;
import edu.lipreading.*; %Java Class Package
training = TrainingPanel; %Jar Class File
javaMethod('recordSample',training,matrix);
end