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.