フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to Pass Sprintf result to Java Method arguments List<Integer>points Error:No method 'list_method' with matching signature found for class?

1 回表示 (過去 30 日間)
SAMEER ahamed
SAMEER ahamed 2014 年 3 月 6 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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 件)

この質問は閉じられています。

タグ

タグが未入力です。

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by