MATLAB 语句

条件控制语句

if
elseif
else
end
switch x
	case 1
	case 2
	otherwise
end

循环语句

for i=1:n
end
while 条件
end

调试

try
catch
end

pause

pause 暂停
pause(n)暂停 n 秒

posted @ 2021-08-14 21:50  Hugh996  阅读(62)  评论(0)    收藏  举报