Skip to content

prefdir

prefs · scripts/prefs/prefdir.m

: dir = prefdir
: dir = prefdir (1)

Folder in which Nexus keeps the user’s preferences.

Returns fullfile (home, ".nexus"), analogous to MATLAB’s ~/.matlab/<release> preferences folder.

With any argument the folder is created if it does not exist yet. cd (prefdir) moves into it.