Calling a java class in Matlab
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
When calling my java class, I'm getting " No main method with appropriate signature exists in Java class XXX" error
My java code is similar to this one (I've made some change so that IP port would be from user input).
Any suggestions how to solve it?
Executing "Hello World" don't provide me such error
Please suggest what could be done.
Matlab R14 SP3 Matlab code for calling the java class:
o=javaObject('XXX');
javaMethod('main','o', port, ip) <== for my problematic class
javaMethod('main','o') <== for the HelloWorld class
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Call Java from MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!