Filter löschen
Filter löschen

setappdata

1 Ansicht (letzte 30 Tage)
Agata
Agata am 20 Dez. 2011
Hi, I have the problem with setappdata, can I use that metod outside GUI? In my own function?
Thanks for help:)

Antworten (1)

Sean de Wolski
Sean de Wolski am 20 Dez. 2011
set to the root directory and you can access from anywhere even after the gui figure is closed.
set(0,'mydata',magic(4));
from anywhere
my_data = getappdata(0,'mydata');
  1 Kommentar
Walter Roberson
Walter Roberson am 20 Dez. 2011
Interesting, that does work even with -nojvm

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by