gethighesttemp.m
来自「student teacher and proferssor llove thi」· M 代码 · 共 25 行
M
25 行
function out=gethighesttemp(funstr,typestr);out=0;if strcmp(typestr,'r') spots=findstr('mxTR',funstr); for i=1:length(spots) if str2num(funstr(spots(i)+4))>out out=str2num(funstr(spots(i)+4)); end endelseif strcmp(typestr,'c') spots=findstr('mxTC',funstr); for i=1:length(spots) if str2num(funstr(spots(i)+4))>out out=str2num(funstr(spots(i)+4)); end endelseif strcmp(typestr,'i') spots=findstr('mxTI',funstr); for i=1:length(spots) if str2num(funstr(spots(i)+4))>out out=str2num(funstr(spots(i)+4)); end endend
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?