Azzera filtri
Azzera filtri

Changing variable from appdesigner in matlab script

4 visualizzazioni (ultimi 30 giorni)
Hello,
How can I send a value for a variable from appdesigner to the workspace which is then used in a matlab script?

Risposta accettata

Eric Delgado
Eric Delgado il 5 Ott 2022
You can use assignin to send the variable to Matlab base workspace.
% Suppose that you have a variable named "app.myVariable"
assignin('base', 'myVariable', app.myVariable)
openvar('myVariable')
  6 Commenti
Eric Delgado
Eric Delgado il 21 Ott 2022
Great to hear! Now that you are super happy with my support, you accept my answer, ok? :)

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Manage Products in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by