ECG-Kit 1.0

File: <base>/common/a2hbc/scripts/EnableControPanel.m (231 bytes)

for field_names = rowvec(fieldnames(UCP_struct))
    ctrl_hdl = UCP_struct.(field_names{1});
    if( ~iscell(ctrl_hdl) && strcmpi(get(ctrl_hdl, 'type'), 'uicontrol' )  )
        set(  ctrl_hdl, 'Enable', 'on');
    end
end