[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strings not compatible with Matlab?
From: |
John B. Thoo |
Subject: |
Re: Strings not compatible with Matlab? |
Date: |
Mon, 30 Dec 2002 09:39:22 -0800 |
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
-------------------------------------------------------------