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일)
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