February 8, 2011
MATLAB スクリプトでやっていることを GNU Octave でやったときに問題になることをメモ。 MATLAB central のファイルを GNU Octave で使えれば安価に済むので。
octave:1> warn01 = warning('query','divide-by-zero')
warn01 =
{
identifier = divide-by-zero
state = on
}
octave:2> warning(warn01)
octave:3> warning('query','divide-by-zero')
panic: impossible state reached in file `error.cc' at line 575
panic: Aborted -- stopping myself...
attempting to save variables to `octave-core'...
save to `octave-core' complete
Abort