help-octave
[Top][All Lists]
Advanced

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

Re: command-line like arguments at the octave prompt?


From: Tatsuro MATSUOKA
Subject: Re: command-line like arguments at the octave prompt?
Date: Mon, 30 Aug 2010 17:51:54 +0900 (JST)

Hello


One of the ways you can do is to use a function m file without return values.


% example func_1.m
function func_1(a1,a2)
 disp([a1 ' ' a2])


octave:17> func_1 aaaa bbb
aaaa bbb

Regards

Tatsuro


--- "Mike B."  wrote:

> Hi All,
> 
> The octave manual mentions it is possible to provide command line arguments 
> at the shell prompt,
> for example:
> octave myfile.m a b c
> 
> Is it possible to do the same for a script (not a function) at the octave 
> prompt, for example:
> 
> 1:>myfile a b c
> 
> Thanks,
> Mike.
> 
> 
> 
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 


--------------------------------------
GyaO! - Anime, Dramas, Movies, and Music videos [FREE]
http://pr.mail.yahoo.co.jp/gyao/


reply via email to

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