sets data for item using GUI FORMAT [o, errf] = set_item_data_ui(o, item) o - object item - name of item to set for Returns o - object with data set (probably) errf - flag is 1 if data was not set $Id$
0001 function [o, errf] = set_item_data_ui(o, item) 0002 % sets data for item using GUI 0003 % FORMAT [o, errf] = set_item_data_ui(o, item) 0004 % 0005 % o - object 0006 % item - name of item to set for 0007 % 0008 % Returns 0009 % o - object with data set (probably) 0010 % errf - flag is 1 if data was not set 0011 % 0012 % $Id$ 0013 0014 if nargin < 2 0015 error('Need item to set to'); 0016 end 0017 0018 [o errf] = do_set(o, item, 'set_ui');