📄 siglevel.m
字号:
function [status,datafiles] = siglevel(s,datafiles)% print count of renamings.str=history(s);if ~isempty(datafiles) m=length(datafiles(:,1))+1;else disp('There are no loaded files...'); m=1;endn=0;status=-1;lasttoken='';%disp(['add new datafiless ' name(s)]);%disp(str);for i=1:length(str(:,1)) [token,rem]=strtok(str(i,:),'>'); rem=rem(2:length(rem)); [token,rem]=strtok(rem,'<'); if token & ~strcmp(lasttoken,token) lasttoken=token; if n m=m+1; for i1=1:n datafiles(m,i1)=datafiles(m-1,i1); end end n=n+1; datafiles(m,n)=cellstr(token); status=0; endendif ~strcmp(lasttoken,name(s)) if n m=m+1; for i1=1:n datafiles(m,i1)=datafiles(m-1,i1); end end n=n+1; datafiles(m,n)=cellstr(name(s));end %disp(datafiles);datafiles(cellfun('isempty',datafiles))=cellstr('');return
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -