フィルターのクリア

Calling a java class in Matlab

2 ビュー (過去 30 日間)
michael
michael 2017 年 11 月 28 日
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 件)

カテゴリ

Help Center および File ExchangeCall Java from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by