help-octave
[Top][All Lists]
Advanced

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

Re: Scripting error message


From: Carlo de Falco
Subject: Re: Scripting error message
Date: Fri, 26 Nov 2004 10:11:48 +0100

It's the way you launch the script:

source('Problem72.m')

or

Problem72

instead of

source(Problem72.m)

carlo


Venerdì, 26 Nov 2004, alle 04:34 Europe/Amsterdam, NZG ha scritto:

Every time I run a script it in Octave I get the message:

source(Problem72.m)
error: can't perform indexing operations for <unknown type> type
error: evaluating argument list element number 1

My script looks like this
#Problem 7.2
1;

A = [1 1;1 1];
B = [0;1];
C = [1 0];

m = 1;
alpha = 10;
beta = 10;

It works just fine, but always generates the error message.
Is my syntax wrong?
What am I forgetting?

thx,
NZG.




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

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




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

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



reply via email to

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