Changeset 5171 for issm/trunk
- Timestamp:
- 08/11/10 16:54:29 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/startup.m
r3009 r5171 69 69 clear ans 70 70 71 72 %Now, load personal startup preferences, using the local user name: 73 %Recover user name 74 if ispc, 75 [status,USERNAME]=system('echo [%USER%]'); 76 else 77 [status,USERNAME]=system('echo $USER'); 78 end 79 if status~=0, 80 error('startup error message: problem when running ''echo $USER'' shell command'); 81 end 82 if exist([ISSM_DIR '/src/m/contrib/' USERNAME],'dir'), 83 addpath([ISSM_DIR '/src/m/contrib/' USERNAME]); 84 end
Note:
See TracChangeset
for help on using the changeset viewer.