User Tools

Site Tools


matlab:matlab_path

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
matlab:matlab_path [2020/11/20 16:30]
igorkagan
matlab:matlab_path [2020/11/20 16:34] (current)
igorkagan
Line 22: Line 22:
 **Note:** [[https://​github.com/​igorkagan/​matlab_config/​blob/​master/​MATLAB2014/​genpath_exclude.m|genpath_exclude.m]] should also be placed in the startup folder. **Note:** [[https://​github.com/​igorkagan/​matlab_config/​blob/​master/​MATLAB2014/​genpath_exclude.m|genpath_exclude.m]] should also be placed in the startup folder.
  
-Example startup.m for repos and Fieldtrip and NeuroElf from DAG server (Y:):+Example startup.m for GitHub repositoriesand ​Fieldtrip and NeuroElf from DAG server (Y:):
  
 <code matlab> <code matlab>
 disp('​Welcome to YOUR MATLAB VERSION, e.g. MATLAB2014a'​);​ disp('​Welcome to YOUR MATLAB VERSION, e.g. MATLAB2014a'​);​
-addpath(genpath_exclude('​YOUR_PATH_TO_REPOS','​.git'​)); ​ +addpath(genpath_exclude('​YOUR_PATH_TO_REPOS','​.git'​)); ​%<--- !!! change '​YOUR_PATH_TO_REPOS'​
 addpath('​Y:​\Sources\fieldtrip-20200604'​);​ % or other path to fieldtrip addpath('​Y:​\Sources\fieldtrip-20200604'​);​ % or other path to fieldtrip
 ft_defaults ft_defaults
matlab/matlab_path.txt · Last modified: 2020/11/20 16:34 by igorkagan