help-octave
[Top][All Lists]
Advanced

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

Re: Problem with octave


From: Julien Martin
Subject: Re: Problem with octave
Date: Mon, 30 Aug 2010 18:06:00 +0200

Hello Jordi,
Thanks for your reply. I don't understand what's wrong with my "she bang" (once I have removed the % of course). It works fine with another m file.
Regarding first point, how can I invoke my function? What's wrong with my octave code?
J.

2010/8/30 Jordi Gutiérrez Hermoso <address@hidden>
On 30 August 2010 10:51, Julien Martin <address@hidden> wrote:
> octave:1> imfdamput
> error: `Smax' undefined near line 13 column 10
> error: evaluating argument list element number 1

This is because imfdamput isn't a script. It's a function. Octave is
telling you that you haven't defined the first argument of your
function.

And by the way....

> % #! /usr/bin/octave -qf

I realise you know that this won't work for Linux. This is one of the
reasons Octave uses the # as a comment character, because it's what
every other scripting language in a POSIX environment uses. I
recommend you use that too. ;-)

- Jordi G. H.


reply via email to

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