Changeset 27671
- Timestamp:
- 03/30/23 19:24:32 (2 years ago)
- Location:
- issm/trunk-jpl/scripts
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/scripts/ol.m
r24995 r27671 3 3 options=pairoptions(varargin{:}); 4 4 5 range=getfieldvalue(options,'<',Inf); 5 %recover steps in calling workspace: will be used to highlight current step. 6 steps= evalin('base', 'steps'); 7 8 mmin=getfieldvalue(options,'>',1); 9 mmax=getfieldvalue(options,'<',Inf); 10 6 11 file=getfieldvalue(options,'file','runme.m'); 7 12 … … 20 25 return; 21 26 end 22 disp(sprintf('%2i: %s',count,tline(16:lastchar))); 23 if count>range, 27 if ismember(count,steps), 28 disp(sprintf('%2i: *%s',count,tline(17:lastchar-1))); 29 else 30 if count>=mmin & count <= mmax, 31 disp(sprintf('%2i: %s',count,tline(17:lastchar-1))); 32 else 33 %do nothing. 34 end 35 end 36 if count>mmax, 24 37 break; 25 38 end
Note:
See TracChangeset
for help on using the changeset viewer.