Calling a java class in Matlab
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Call Java from MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!