recset_jd

PURPOSE ^

SYNOPSIS ^

function recset_jd(h,property,value,rec)

DESCRIPTION ^

 This function recursively changes the value of the property of an object
 and all its children (ex : 'visible')

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function recset_jd(h,property,value,rec)
0002 %
0003 % This function recursively changes the value of the property of an object
0004 % and all its children (ex : 'visible')
0005 %
0006 nh = length(h);
0007 %
0008 for ih = 1:nh,
0009     set(h(ih),property,value)
0010     %
0011     if nargin > 3 && rec,
0012         children = get(h(ih),'children');
0013         %
0014         recset_jd(children,property,value);
0015     end
0016     %
0017 end

Community support and wiki are available on Redmine. Last update: 18-Apr-2019.