【问题标题】:running octave/matlab code in interface mode在界面模式下运行 octave/matlab 代码
【发布时间】:2016-06-23 05:03:39
【问题描述】:

如果我们在 Python 中运行带有-i 标志的程序,程序会被执行,并且在执行脚本后我们会进入交互模式。 (可进一步用于调试)。

例如:python -i exampleProgram.py.

在 Octave 中是否有类似的方法可以做到这一点?

【问题讨论】:

    标签: python matlab octave


    【解决方案1】:

    你要找的是

    --persist    Go interactive after --eval or reading from FILE.
    

    查看octave --help查看完整列表

    【讨论】:

      【解决方案2】:

      Here 是 Octave 的命令行参数列表。你会看到它确实支持

      --交互式

      -我

      强制交互行为。这对于通过 远程 shell 命令或在 Emacs shell 缓冲区内。为了 在 Emacs 中运行 Octave 的另一种方式,请参阅 Emacs Octave 支持。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2013-07-09
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多