We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1605623 commit c797eadCopy full SHA for c797ead
1 file changed
saveGUIstate.m
@@ -52,12 +52,17 @@ function saveGUIstate(h)
52
end
53
54
if ~isempty(propstopull)
55
+ % Pull properties and save to output structure
56
+ % Structure is currently not preallocated, need to revisit
57
+ % later to figure out a robust method to preallocate for speed
58
if iscell(propstopull)
59
for jj = 1:length(propstopull)
- asdf = 1;
60
+ output.(objectlist{ii}).(propstopull{jj}) = ...
61
+ get(h.(objectlist{ii}), propstopull{jj});
62
63
else
64
+ output.(objectlist{ii}).(propstopull) = ...
65
+ get(h.(objectlist{ii}), propstopull);
66
67
68
0 commit comments