Mercurial > hg > ltpda
comparison m-toolbox/m/gui/gltpda/g_SetNameCallback.m @ 0:f0afece42f48
Import.
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 23 Nov 2011 19:22:13 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:f0afece42f48 |
---|---|
1 function g_SetNameCallback(hObject,varargin) | |
2 % Whenever the user clicks on the checkbox to maintain local results. | |
3 | |
4 global selBlocks | |
5 | |
6 setName = get(hObject,'Value'); | |
7 for kk=1:length(selBlocks) | |
8 try %#ok<ALIGN> | |
9 set_param(selBlocks(kk),'UserData',setName); | |
10 set_param(selBlocks(kk),'UserDataPersistent','on'); | |
11 catch, end | |
12 end | |
13 | |
14 end |