Loading Data

kensmith kensmith99 at comcast.net
Sat Feb 9 17:35:46 CST 2008


On Saturday 09 February 2008 12:40, TweedleDee wrote:
> I'm a complete noob here, but I'm having trouble loading data into
> octave using a script.  I can do it from the command line no problem
> by doing the following:
>
> load ('torque.txt');
> x = torque;
> plot (x);
>
> but within a script it pukes when trying to assign x.  Any ideas? 
> BTW, I'm using Windows and the latest version of Octave.  Thanks,

This sounds like a problem between global scope and local scope.

try saying:

global torque

kensmith99 at comcast.net


More information about the Help-octave mailing list