matlab:matlab_path
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
matlab:matlab_path [2020/05/15 22:27] – igorkagan | matlab:matlab_path [2022/12/29 07:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
2. Place custom startup.m to your [[https:// | 2. Place custom startup.m to your [[https:// | ||
- | (type ' | + | (type ' |
- | For example, a minimal **startup.m** for automatically | + | For example, a minimal **startup.m** for automatically |
<code matlab> | <code matlab> | ||
Line 22: | Line 22: | ||
**Note:** [[https:// | **Note:** [[https:// | ||
- | See https:// | + | Example startup.m for GitHub repositoriesand Fieldtrip and NeuroElf from DAG server (Y:): |
- | Example startup.m: | + | <code matlab> |
+ | disp(' | ||
+ | addpath(genpath_exclude(' | ||
+ | addpath(' | ||
+ | ft_defaults | ||
+ | |||
+ | % http:// | ||
+ | [ftver, ftpath] = ft_version; | ||
+ | rmpath(fullfile(ftpath, | ||
+ | rmpath(fullfile(ftpath, | ||
+ | rmpath(fullfile(ftpath, | ||
+ | |||
+ | addpath(' | ||
+ | |||
+ | dbstop if error | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | See also https:// | ||
<code matlab> | <code matlab> | ||
Line 40: | Line 60: | ||
</ | </ | ||
+ | |||
+ | ==== pathdef.m ==== | ||
+ | |||
+ | When MATLAB gives an " | ||
+ | [[https:// | ||
matlab/matlab_path.1589581678.txt.gz · Last modified: 2022/12/29 07:15 (external edit)