Path: news.mathworks.com!newsfeed-00.mathworks.com!NNTP.WPI.EDU!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: realy bad problem with MatLab
Date: Fri, 2 May 2008 16:16:43 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 25
Message-ID: <fvfepb$d1b$1@canopus.cc.umanitoba.ca>
References: <fvfecu$r51$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1209745003 13355 192.70.172.160 (2 May 2008 16:16:43 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Fri, 2 May 2008 16:16:43 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:466308



In article <fvfecu$r51$1@fred.mathworks.com>, Maxim  <morozov@unicas.it> wrote:
>Can ANYBODY explain me why when I create the following 
>script:

>a=1

>in MATLAB R2007b, and call the script b.m and execute from 
>command window

>>> b

>I receive this error:

>??? Undefined function or variable 'b'. 

>What does this idiocy mean???

That doesn't happen to me in R2007a; I don't have R2007b installed
to check with.

Where did you put b.m ? If you happened to put it in a toolbox
directory, then matlab will not find it until you issue the appropriate
'rehash' command varient.
-- 
  "There's no term to the work of a scientist." -- Walter Reisch