Path: news.mathworks.com!not-for-mail
From: "Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Load avi files
Date: Thu, 7 Feb 2008 11:50:03 +0000 (UTC)
Organization: King's College London
Lines: 9
Message-ID: <foer9b$aer$1@fred.mathworks.com>
References: <foepsb$j2o$1@fred.mathworks.com> <foeqog$27i$1@fred.mathworks.com>
Reply-To: "Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1202385003 10715 172.30.248.38 (7 Feb 2008 11:50:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 7 Feb 2008 11:50:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1477
Xref: news.mathworks.com comp.soft-sys.matlab:449849


That should be
x=double(structname(index).fieldname);

"Malcolm Lidierth" <ku.ca.lck@htreidil.mloclam> wrote in 
message <foeqog$27i$1@fred.mathworks.com>...
> Try
> x=double(structname.fieldname);
>