Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Problem when i run a code in matlab
Date: Sun, 15 Feb 2009 13:36:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 10
Message-ID: <gn95o1$5pi$1@fred.mathworks.com>
References: <gl1qgu$qvq$1@fred.mathworks.com>
Reply-To: <HIDDEN>
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 1234704961 5938 172.30.248.38 (15 Feb 2009 13:36:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 15 Feb 2009 13:36:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1714678
Xref: news.mathworks.com comp.soft-sys.matlab:518359


"Bikash Singh" <bikashsingh18@yahoo.com> wrote in message <gl1qgu$qvq$1@fred.mathworks.com>...
> I want to evaluate the Performance of WiMAXIEEE 802.16 OFDM Physical Layer
> For this purpose i run the related code in matlab. But in this code there is an error. And mention that the error is in line 8 is given below. And error is  
> "??? Attempt to reference field of non-structure array."
> 
> Error in ==> thesis at 8
> if (IEEE80216params.Link.DIUC == 0 ) && (IEEE80216params.Link.direction == 'Dlink')

After the line "global IEEE80216params;"
Add this line: "IEEE80216params = IEEE80216_params();" without quotes, provided you already have IEEE80216_params.m with all the parameters inside it.