How to Pass matrices/vector's values to Java Method argument List<Integer> points
Show older comments
Hi,
I am newbie for mat-lab environment , below i have mentioned like
On Java
public void list_method(List<Integer> points){
Sample sample = new Sample ();
sample.getMatrix().add(points);
}
On Matlab
matrix =[22,33,22,4,2,3,2,1]; %1-by-8 matrix
[222,43,2,2,5,3,2,1] etc...
import edu.lipreading.*;
import java.util.Vector;
training = MainMethod;
training.list_method(matrix);
from Mat-lab I have like that values ,so i need to pass these values in java method arguments.
so i got error like :
*No method 'list_method' with matching signature found for class
'edu.lipreading.MainMethod'.*
1 Comment
SAMEER ahamed
on 6 Mar 2014
Answers (0)
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!