How can i reset all variables when my gui closes?

I am trying to reset my variables while the program is about to close. My variables do not rest and i get the same points all the time because of that.. Is there any way to reset all variables when the program closes? Thanks in advance

Categories

Asked:

on 13 Mar 2013

Community Treasure Hunt

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

Start Hunting!