setting variables in java objects from matlab

1 vue (au cours des 30 derniers jours)
JMP Phillips
JMP Phillips le 28 Août 2015
Modifié(e) : JMP Phillips le 28 Août 2015
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.

Réponses (0)

Catégories

En savoir plus sur Call Java from MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by