【问题标题】:SublimeREPL: MATLAB displaying inconsistent output for structures (macOS)SublimeREPL:MATLAB 显示结构的输出不一致(macOS)
【发布时间】:2017-10-27 15:14:37
【问题描述】:

sublimeREPL:MATLAB 似乎配置得当,将显示矩阵、表格甚至 [1x1] 结构的输出。

但是,当我尝试显示任何大于 [1x1] 的结构的输出时,我只会在 >> 提示符的左侧看到一个莫名其妙的白色块,如 here 所示(对不起 imgur 链接,我没有足够的代表用于内联图像)。

知道为什么会这样,或者我可以做些什么来解决它?我已经在几个类似的系统上使用过 SublimeREPL: MATLAB 而没有这个故障,但我一生都无法弄清楚我当前的设置有什么不同可能导致这样的错误。

非常感谢!

系统规格:
MacBook Pro(视网膜显示屏,15 英寸,2015 年中) macOS Sierra 10.12.6
MATLAB R2017a (8.2.0.538062)
Sublime Text 3.0 版本,Build 3143
SublimeREPL

【问题讨论】:

    标签: macos matlab sublimetext3 sublimerepl


    【解决方案1】:

    我意识到我在用户设置中将自动缩进设置为“true”。

    如下更改它们可以消除问题:

    // standard sublime view settings that will be overwritten on each repl view
    // this has to be customized as a whole dictionary
    "repl_view_settings": {
        "translate_tabs_to_spaces": false,
        "auto_indent": false,
        "smart_indent": false,
        "spell_check": false,
        "indent_subsequent_lines": false,
        "detect_indentation": false,
        "auto_complete": true,
        "line_numbers": false,
        "gutter": true
    }
    

    【讨论】:

      猜你喜欢
      • 2012-07-02
      • 1970-01-01
      • 2019-06-25
      • 1970-01-01
      • 1970-01-01
      • 2020-08-11
      • 2018-11-10
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多