My Octave crashes when I execute plot
command. I found a solution in Assad Ebrahim's answer. He mentioned to switch the default toolkit to gnuplot
, and change it in octave.rc
file if I want to make the change permanently but I'm not clear about the permanent change in octaverc
. When I open my octaverc
with notepad++, it looks like this:
## System-wide startup file for Octave.
##
## This file should contain any commands that should be executed each
## time Octave starts for every user at this site.
EXEC_PATH (cstrcat (fullfile (OCTAVE_HOME, 'notepad++'), pathsep,
EXEC_PATH));
EXEC_PATH (cstrcat (fullfile (OCTAVE_HOME, 'bin'), pathsep, EXEC_PATH));
EDITOR (fullfile (OCTAVE_HOME, 'notepad++', 'notepad++.exe'));
What should I change and how?