setting variables in java objects from matlab
1 回表示 (過去 30 日間)
古いコメントを表示
If I set a variable in a Java object will the variable be available to be called by another Java object?
example,
x_matlab = 10
a.b.SetVariable(x_matlab); % sets the java member variable x_java to x_matlab
output = c.d.GetVariable(x_java); %gets the value of x_java.
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Call Java from MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!