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 revisionPrevious revision
Next revisionBoth sides next revision
matlab:matlab_path [2020/05/15 22:15] igorkaganmatlab:matlab_path [2020/05/15 22:16] igorkagan
Line 13: Line 13:
 2. Place custom startup.m to your [[https://www.mathworks.com/help/matlab/ref/userpath.html|userpath]] 2. Place custom startup.m to your [[https://www.mathworks.com/help/matlab/ref/userpath.html|userpath]]
 (type 'userpath' in the MATLAB command window to figure out yours)  (type 'userpath' in the MATLAB command window to figure out yours) 
- 
-Example startup.m: 
- 
-<code matlab> 
-disp('Welcome to MATLAB2014'); 
-set_sources_path; 
-edit; 
-EditorMacro('Alt-Control-h', @ig_createHeaderComment_dag); 
-dbstop if error 
-</code> 
  
 The function **set_sources_path.m** can be something like the one below, to add all repositories but exclude not needed internal .git folders: The function **set_sources_path.m** can be something like the one below, to add all repositories but exclude not needed internal .git folders:
Line 38: Line 28:
 **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.
  
-See https://github.com/igorkagan/matlab_config for example that includes genpath_exclude.m+See https://github.com/igorkagan/matlab_config for example that includes genpath_exclude.m
 + 
 +Example startup.m: 
 + 
 +<code matlab> 
 +disp('Welcome to MATLAB2014'); 
 +set_sources_path; 
 +edit; 
 +EditorMacro('Alt-Control-h', @ig_createHeaderComment_dag); 
 +dbstop if error 
 +</code>
  
  
matlab/matlab_path.txt · Last modified: 2022/12/29 07:15 by 127.0.0.1