prefdir
Folder containing preferences, settings, history, and layout files
Description
folder = prefdir
returns the name of the preferences folder.
The preferences folder contains preferences and settings for MATLAB® and related products, the command history file, MATLAB favorites files, and MATLAB desktop layout files.
folder = prefdir(1)
creates a folder for preferences and
related files if one does not exist. If the folder does exist, the name is assigned
to folder
.
Examples
Extended Capabilities
Version History
Introduced before R2006a