


SUBSASGN - handles indexed assignments to objects
the first argument is the object, the second argument a structure array
the third one is the value
Usage:
rgb = subsasgn(rgb,index,val)
See also SUBSREF

0001 function rgb = subsasgn(rgb,index,val) 0002 %SUBSASGN - handles indexed assignments to objects 0003 % 0004 % the first argument is the object, the second argument a structure array 0005 % the third one is the value 0006 % 0007 % Usage: 0008 % rgb = subsasgn(rgb,index,val) 0009 % 0010 % See also SUBSREF 0011 0012 rgb=builtin('subsasgn',rgb,index,val);