我会从cli运行八度音,所以我会这样做 octave - 传统,现在GUI模式是运行八度音阶时的默认值我只是从快捷键开始八度(我使用OS X Yosemite)
是否有命令或我可以将.octaverc切换到传统模式
答案 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"
运行