help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: imshow() error


From: Mike Miller
Subject: Re: imshow() error
Date: Wed, 28 Aug 2013 09:49:59 -0400

On Wed, Aug 28, 2013 at 18:41:33 +0530, Dincy Paul wrote:
> I changed the script name .But no change.
>
> error: invalid use of script in index expression
>>>> error: called from:
> error: /usr/share/octave/3.2.3/m/image/imshow.m at line 166, column 9
> error: /home/keltron/sample.m at line 3, column 1

The error means you still have a script in your path that has the same
name as a function. Try one or more of the following:

* move, delete, or rename all .m files in your home directory
* run Octave from a different directory
* do not add directories to your path, or start Octave with the --norc option
* try "demo imshow"

If you can look on line 166 of imshow.m, you can narrow down which
functions are being called and see if you have scripts with the same
name.

Consider upgrading to a new version of Octave, many improvements have
been made since version 3.2.3, including a change to the error message
you are seeing that would tell you exactly what file you need to
rename or move out of the way.

-- 
mike


reply via email to

[Prev in Thread] Current Thread [Next in Thread]