From: Richard on 22 Apr 2010 06:59 I'm trying to index into an array of objects passed as varargin using the following code case 3 varargin(1)(2).propertyname trying to access the propertyname property of the second object in the object array passed as the first argument to this method? How can I make this work?
From: Yi Cao on 22 Apr 2010 08:09 "Richard " <REMOVETHISrcaldwellie(a)yahoo.com> wrote in message <hqpa5s$1sa$1(a)fred.mathworks.com>... > I'm trying to index into an array of objects passed as varargin using the following code > > case 3 > varargin(1)(2).propertyname > > > trying to access the propertyname property of the second object in the object array passed as the first argument to this method? > > How can I make this work? > Should it be varargin{1}(2).propertyname? HTH Yi
|
Pages: 1 Prev: patch lighting and surface normal Next: error result when calculating a simple function |