📄 convertconditional.m
字号:
function str=convertconditional(str)goon=1;temp=findstr(str,'~=');while ~isempty(temp) str=[str(1:temp(1)-1),'/=',str(temp(1)+2:length(str))]; temp=findstr(str,'~=');endtemp=findstr(str,'~');while ~isempty(temp) str=[str(1:temp(1)-1),'.not.',str(temp(1)+1:length(str))]; temp=findstr(str,'~');endtemp=findstr(str,'|');while ~isempty(temp) str=[str(1:temp(1)-1),'.or.',str(temp(1)+1:length(str))]; temp=findstr(str,'|');endtemp=findstr(str,'&');while ~isempty(temp) str=[str(1:temp(1)-1),'.and.',str(temp(1)+1:length(str))]; temp=findstr(str,'&');end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -