matlabroot
MATLAB root folder
Syntax
Description
mr = matlabroot returns a character vector giving the full
path to the folder where MATLAB® is installed. Use matlabroot to create a path to
MATLAB and toolbox folders that is independent of platform, MATLAB version, or installation location.
Examples
More About
Algorithms
Extended Capabilities
Version History
Introduced before R2006a
See Also
fullfile | path | toolboxdir