help-octave
[Top][All Lists]
Advanced

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

Re: Strings not compatible with Matlab?


From: Henry F. Mollet
Subject: Re: Strings not compatible with Matlab?
Date: Mon, 30 Dec 2002 10:11:26 -0800
User-agent: Microsoft-Entourage/10.1.1.2418

Many  thanks, now worked like a charm.
Henry

on 12/30/02 9:39 AM, John B. Thoo at address@hidden wrote:

> On Monday, December 30, 2002, at 09:30 AM, Henry F. Mollet wrote:
> 
>> I'm  having a hard time to get started with octave. I've tried args
>> ('hello') first on Mac and then on PC:
> 
> Hi.  I'm new to Octave, myself, so I may not know of what I speak, but I
> think that "args" is a function that James defined:
> 
> 
> % test function to echo string arguments
> 
> ########################################
> function args (argv)
> 
> argc = length (argv);
> printf ("argc = %d\n", argc);
> 
> for i = 1:argc
>  printf ("arg %d = %s\n", i, argv (i));
> end
> endfunction
> ########################################
> 
> 
> So I think you need to enter that in first before you try "args
> ('hello')".
> 
> HTH.  Cheers.
> 
> ---John.
> 



-------------------------------------------------------------
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]