如何在八度音阶4中设置传统/脑死亡模式

时间:2016-06-11 22:07:51

标签: octave

在Octave 4.x之前

我会从cli运行八度音,所以我会这样做 octave - 传统,现在GUI模式是运行八度音阶时的默认值我只是从快捷键开始八度(我使用OS X Yosemite)

是否有命令或我可以将.octaverc切换到传统模式

3 个答案:

答案 0 :(得分:1)

你需要设置一些变量octacerc:

PS1                             = ">> "
PS2                             = ""
beep_on_error                   = true
confirm_recursive_rmdir         = false
crash_dumps_octave_core         = false
disable_diagonal_matrix         = true
disable_permutation_matrix      = true
disable_range                   = true
fixed_point_format              = true
history_timestamp_format_string = "%%-- %D %I:%M %p --%%"
page_screen_output              = false
print_empty_dimensions          = false
save_default_options            = "-mat-binary"
struct_levels_to_print          = 0
warning('off', 'Octave:abbreviated-property-match')
warning('off', 'Octave:fopen-file-in-path')
warning('off', 'Octave:function-name-clash')
warning('off', 'Octave:load-file-in-path')
warning('off', 'Octave:possible-matlab-short-circuit-operator)

这相当于 - 传统。有关可能与传统一起使用的其他可能设置,请参阅https://www.gnu.org/software/octave/doc/v4.0.1/Command-Line-Options.html

答案 1 :(得分:1)

简单的解决方案是创建一个调用octave --traditional的Bash脚本,并从开始菜单中将其链接。该文件可能如下所示:

#!/usr/bin/env bash
octave --traditional

您可以调用此文件octave_traditional.sh,并将其放置在Octave目录下,用户bin目录下或所需的任何位置。请确保正确设置其权限:

chmod a+x octave_traditional.sh

答案 2 :(得分:0)

当它读取.octaverc文件时,它太迟了。

尝试将Octave作为" octave --no-gui"

运行
相关问题