setting variables in java objects from matlab

조회 수: 1 (최근 30일)
JMP Phillips
JMP Phillips 2015년 8월 28일
편집: JMP Phillips 2015년 8월 28일
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개)

카테고리

Help CenterFile Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by