matlab:matlab_path
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
matlab:matlab_path [2020/05/15 22:16] – igorkagan | matlab:matlab_path [2020/05/15 22:27] – igorkagan | ||
---|---|---|---|
Line 14: | Line 14: | ||
(type ' | (type ' | ||
- | The function | + | For example, a minimal |
- | + | ||
- | <code matlab> | + | |
- | addpath(genpath_exclude(' | + | |
- | </ | + | |
- | + | ||
- | Or, the minimal **startup.m** | + | |
<code matlab> | <code matlab> | ||
Line 39: | Line 33: | ||
dbstop if error | dbstop if error | ||
</ | </ | ||
+ | |||
+ | The function **set_sources_path.m** can be something like the one below, to add all repositories but exclude not needed internal .git folders: | ||
+ | |||
+ | <code matlab> | ||
+ | addpath(genpath_exclude(' | ||
+ | </ | ||
+ | |||
matlab/matlab_path.txt · Last modified: 2022/12/29 07:15 by 127.0.0.1