indexing of stucture arrays in loops
- From: "Will Thurston" <willthurston@xxxxxxxxxxx>
- Date: Fri, 31 Mar 2006 11:31:37 -0500
Hi,
code like this:
observation.(property(i,:)) = [observation.(property(i,:)
[observation.(property(j,:))(:,k)]];
(where property contains variable names) gives an error - Missing
operator, comma, semicolon, or white space before the (:,k).
However, if instead if using 'observation.(property(i,:))' i type in
full 'observation.height' it allows the indexing (:,k)
Is there a way to get my code to work the first way?
thanks
.
- Follow-Ups:
- Re: indexing of stucture arrays in loops
- From: Jos
- Re: indexing of stucture arrays in loops
- Prev by Date: Re: automation of loading multiple data file and f
- Next by Date: Re: Getting my PLP
- Previous by thread: automation of loading multiple data file and fitting in separate directories
- Next by thread: Re: indexing of stucture arrays in loops
- Index(es):
Relevant Pages
|