Why do I get an error 'No constructor with matching signature found.' when construct a Java object that has been added to javaclasspath?
Ältere Kommentare anzeigen
I have a Java class with the following signatures:
package com.mathworks;
public class Test {
Test() {
System.out.println("Hello World!");
}
}
I have used the 'javaaddpath' properly to load the class into MATLAB. However, when I try to construct an object:
>> com.mathworks.Test();
I got the following error:
No constructor 'com.mathworks.Test' with matching signature found.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Call Java from MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!