help-octave
[Top][All Lists]
Advanced

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

initialisation problem ?


From: Douglas Steele
Subject: initialisation problem ?
Date: Sat, 5 Aug 2000 11:02:01 +0100

Hi,

Win2K, Cygnus 1.0, Octave, version 2.0.16
Octave built from source, installed in /usr/local/bin (etc)
/ is c:ŠÜCygwin

I am having a problem with non-builtin functions eg

>> rand(2,2)
ans =

  0.57153  0.04031
  0.05437  0.76570

>> rot90(rand(2,2))
warning: function `rot90' defined within script file `/usr/local/share/o
ctave/2.0.16/m/general/rot90.m'



the scripts do exist at the correct locations, which made me wonder
about the default path ?

__DEFAULT_LOADPATH__ = .:/usr/local/libexec/octave/site/oct/i386-pc-
cygwin32//:/usr/local/share/octave/site/m//:/usr/local/libexec/octave/2.
0.16/oct/i386-pc-cygwin32//:/usr/local/share/octave/2.0.16/m//




If I make the script and the dependent scripts currently compiled
functions then it does work...

>> rot90
usage: rot90 (x [, k])
error: called from `rot90'
>> rem
warning: function `rem' defined within script file `/usr/local/share/oct
ave/2.0.16/m/general/rem.m'
>> flipud
warning: function `flipud' defined within script file `/usr/local/share/
octave/2.0.16/m/general/flipud.m'
>> rows
warning: function `rows' defined within script file `/usr/local/share/oc
tave/2.0.16/m/general/rows.m'


>> rot90(rand(2,2))
ans =

  0.23221  0.39345
  0.14058  0.37998


Thanks for any help



-- 
Douglas Steele



-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.che.wisc.edu/octave/octave.html
How to fund new projects:  http://www.che.wisc.edu/octave/funding.html
Subscription information:  http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------



reply via email to

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