setting variables in java objects from matlab

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.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de Ag. de 2015

Editada:

el 28 de Ag. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by