Mercurial > hg > ltpda
annotate m-toolbox/m/gui/ltpdv/callbacks/ltpdv_pzmStore.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
rev | line source |
---|---|
0 | 1 function ltpdv_pzmStore(varargin) |
2 | |
3 % Handles | |
4 myh = varargin{1}; | |
5 htab = varargin{end-1}; | |
6 mainfig = varargin{end}; | |
7 | |
8 % Get pzmodel | |
9 pzm = ltpdv_filter_get_pzmodel(mainfig); | |
10 | |
11 % Add to objects | |
12 objs = getappdata(mainfig, 'LTPDAobjects'); | |
13 objs = [objs {pzm}]; | |
14 setappdata(mainfig, 'LTPDAobjects', objs); | |
15 | |
16 % Refresh object list | |
17 ltpdv_refresh_object_list(mainfig); |