Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
reset application data

Subject: reset application data

From: Wendy

Date: 8 Jan, 2011 22:00:19

Message: 1 of 3

Hi all,

I defined a few application data in my GUI using setappdata(0,'name',value). I found that those application data that I defined still existed after I closed the GUI. Is there a way that can I remove all the application data that I have defined every time that I restart the GUI?

Thank you,
Wendy

Subject: reset application data

From: Paulo Silva

Date: 8 Jan, 2011 22:36:04

Message: 2 of 3

"Wendy " <wlq121@gmail.com> wrote in message <igampj$f57$1@fred.mathworks.com>...
> Hi all,
>
> I defined a few application data in my GUI using setappdata(0,'name',value). I found that those application data that I defined still existed after I closed the GUI. Is there a way that can I remove all the application data that I have defined every time that I restart the GUI?
>
> Thank you,
> Wendy

doc rmappdata

Subject: reset application data

From: Paulo Silva

Date: 8 Jan, 2011 22:42:04

Message: 3 of 3

"Paulo Silva" <paulojmdsilva@gmail.com> wrote in message <igaosk$ro9$1@fred.mathworks.com>...
> "Wendy " <wlq121@gmail.com> wrote in message <igampj$f57$1@fred.mathworks.com>...
> > Hi all,
> >
> > I defined a few application data in my GUI using setappdata(0,'name',value). I found that those application data that I defined still existed after I closed the GUI. Is there a way that can I remove all the application data that I have defined every time that I restart the GUI?
> >
> > Thank you,
> > Wendy
>
> doc rmappdata

do the "reset" of your data in the CloseRequestFc callback of your GUI

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us