开发者

Octave Equivalent of Python Optparse / getopt

Is there an octave Equivalent of Python Optparse / getopt?

Something like:

[parsed_args, remaining] = optparse(argv开发者_JS百科());

I run octave scripts from command line.

./foo.m -p lease -g ive -m e -o ptparse


argv() will return the command line arguments passed to Octave as a string cell array. It should be straightforward to proceed with this cell array. Could you be more specific of the optparse() functionality needed. What operating system you are running on?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜