【问题标题】:Is there a way to change the digits shown in the variables browser?有没有办法更改变量浏览器中显示的数字?
【发布时间】:2014-05-01 15:47:57
【问题描述】:

IDE GUI 中的 matlab 变量浏览器默认只显示 10 位数字。较长的变量会显示其维度。

[0 0 0 0 0 0 0 0 0 1]   
[0 0 0 0 0 1 1 0 0]
<1x11 double>
[1 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0 0]
<1x11 double>
[0 0 1 0 0 0 0 0 0 0]
[0 0 0 1 1 1 0 0 0]
[1 0 0 1 0 0 0 1 1 0]

有没有办法在 matlab 8.1 中修改这种行为?

【问题讨论】:

  • 我在 Matlab 2013 中没有找到任何东西,即使查看文件 matlab.prf(在 Matlab 的首选项目录中找到)。似乎是 Matlab 内部的...
  • 来自undocumentedmatlab.com 的 Yair Altman 曾在工作区表中挑战change the displaying of bytes to kbytes。也许您可以挑战他为您的要求找到解决方案。我怀疑有一个简单的解决方案。但在我看来,对于最新版本,workspace preferences 得到了扩展。

标签: matlab user-interface


【解决方案1】:

您可能已经从 cmets 中猜到了:

,没有可以通过常规方式更改的设置来修改此行为。

当然,一切皆有可能,但“最简单”的方法可能需要 java hack,例如 the one for changing the workspace preferences

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-02
    相关资源
    最近更新 更多