help-octave
[Top][All Lists]
Advanced

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

Is there a library/wrapper to expose .m files to the command line?


From: Alejandro Garcia
Subject: Is there a library/wrapper to expose .m files to the command line?
Date: Wed, 6 Apr 2016 09:18:13 -0500

Is there a preferred way to expose a few .m files as programs from the command line?
I know you could use either:

  octave-cli --eval "myFunction(param1,param2)

or:
   #!/usr/bin/octave -qf 


But is there a library that makes handling parmeters from the command line easier?.

Something like if I make this call

$ myOctaveScript --param1=value --param2==value

Would set variables param1 and param2 inside the script??

or I should process that myself with argv() ??

Thank you.


--
Alejandro García F. (elviejo)

Too brief? Here's why! http://emailcharter.org

EOM – End Of Message. The whole message is in the subject don't need to open it.
NNTR – No Need To Respond. Help cut down on all those “cool” and “thanks” emails.
SINGLE SUBJECT. Send one email for one topic, this makes replies easy..
CLEAR CALL TO ACTION: Ask for some specific result very clearly.

reply via email to

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