FUNCTION REFERENCE

matlabroot

Return the MatRust installation folder.

Return the MatRust installation folder.

Syntax

folder = matlabroot

Returns the folder containing the running executable.

Example

ischar(matlabroot)   % 1

Differences from MATLAB: Returns the MatRust executable folder rather than a MATLAB installation folder.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.