Return the directory that holds the preferences for Octave.
Examples:
Display the preferences directory
prefdir
Change to the preferences folder
cd (prefdir)
If called with an argument, the preferences directory is created if it doesn’t already exist.
See also: getpref, setpref, addpref, rmpref, ispref.
Package: octave