Last change
on this file since 17 was
17,
checked in by zhangj, 10 years ago
|
To have a stable version on the server.
|
-
Property svn:executable set to
*
|
File size:
469 bytes
|
Line | |
---|
1 | function cap |
---|
2 | %CAP - Clears application data |
---|
3 | % |
---|
4 | % Written by Gregory J. Pormann |
---|
5 | |
---|
6 | setappdata(0,'AcceleratorData', []); |
---|
7 | setappdata(0,'AcceleratorObjects',[]); |
---|
8 | |
---|
9 | % To really clear it |
---|
10 | %rmappdata(0, 'AcceleratorData'); |
---|
11 | %rmappdata(0, 'AcceleratorObjects'); |
---|
12 | |
---|
13 | |
---|
14 | % % If you want to clear all of appdata for the command window |
---|
15 | % VarNameStuct = getappdata(0); |
---|
16 | % VarNameCell = fieldnames(VarNameStuct); |
---|
17 | % |
---|
18 | % for i = 1:length(VarNameCell) |
---|
19 | % rmappdata(0, VarNameCell{i}); |
---|
20 | % end |
---|
Note: See
TracBrowser
for help on using the repository browser.