Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
How to Pass Sprintf result to Java Method arguments List<Integer>points Error:No method 'list_method' with matching signature found for class?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
On Matlab Side i have code like that :
if true
% code
matrix =[33,122,3,2,2,3,2,4];
outsprintf=sprintf('%d,',matrix);
outsprintf=sprintf('[%s\b]',outsprintf);
disp(outsprintf);
import edu.lipreading.*;
training = MainMethod; //Main Java Class Name
training.list_method(outputString);
end
result like :
outsprintf
[6,28,117,28,48,1,48,59] ,[27,45,94,45,70,13,70,62],[14,44,139,44,71,1,71,66] ,[4,32,119,32,72,2,72,65] etc..
*On Java Code Part*
public static void list_method(List<Integer> points){
Sample sample = new Sample();//Class object
sample.getMatrix().add(points);
}
when i have run mat-lab I have got Error like :
No method 'list_method' with matching signature found for class
0 commentaires
Réponses (0)
Cette question est clôturée.
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!