|
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???
> MM
The error message is a simple one. Matlab
does not know what b is, since it does not
find something called b.m, nor have you
defined a variable with the name b.
That it is idiocy is a subjective matter
of your opinion.
That it is your mistake is a fact. You
must put the script b in a valid place on
the matlab search path. Do not place it
in the matlab toolbox directories. Do not
place it in some random directory that
is not on the path.
John
--
The best material model of a cat is another, or preferably the same, cat.
A. Rosenblueth, Philosophy of Science, 1945
Those who can't laugh at themselves leave the job to others.
Anonymous
|