MATLAB Function Reference |
Syntax
matlabroot rd = matlabroot
Description
rd = matlabroot
回傳MATLAB軟體被安裝到的目錄,並存入 rd
中。
Examples
fullfile
(matlabroot,'toolbox','matlab','general','')
產生produces a full path to the toolbox/matlab/general
目錄的完整路徑,這個目錄正是作業系統執行過的目錄。(produces a full path to the toolbox/matlab/general
directory that is correct for the platform it is executed on.)
matlabrc | max |