[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Loading Data
From: |
TweedleDee |
Subject: |
Re: Loading Data |
Date: |
Sun, 10 Feb 2008 08:54:11 -0800 (PST) |
kensmith wrote:
>
> 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
>
> address@hidden
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>
>
I'm still getting the same errors...
>C:\Program Files\Octave\bin\octave.exe -q "loadFileTest.m"
- Use `pkg list' to see a list of installed packages.
- SciTE editor installed. Use `edit' to start the editor.
- MSYS shell available (C:\Program Files\Octave\msys).
- Graphics backend: jhandles.
t =
1 2 3 4 5 6 7 8 9 10
error: value on right hand side of assignment is undefined
error: evaluating assignment expression near line 3, column 3
error: near line 3 of file `loadFileTest.m'
>Exit code: 1
--
View this message in context:
http://www.nabble.com/Loading-Data-tp15389838p15398325.html
Sent from the Octave - General mailing list archive at Nabble.com.
Re: Loading Data, kensmith, 2008/02/11