matlab中如何设置延迟

 我来答
趣事情
推荐于2017-10-07 · 知道合伙人互联网行家
趣事情
知道合伙人互联网行家
采纳数:517 获赞数:5452
电脑技术,软件开发。移动开发。网站建设相关专业知识。都可以提供解答和相关技术指导。

向TA提问 私信TA
展开全部
采用MATLAB中的延时函数pause:Halt execution temporarily
实现代码如下:
1.pause, by itself, causes M-files to stop and wait for you to
press any key before continuing.
2.pause(n) pauses execution for n seconds before continuing, where
n can be any nonnegative real number.

3.pause(inf) puts you into an infinite loop. To return to the
MATLAB prompt, type Ctrl+C.
4.pause on allows subsequent pause commands to pause
execution.
5.pause off ensures that any subsequent pause or pause(n) statements do not pause execution.
qingningleyun
2014-01-06 · TA获得超过5854个赞
知道大有可为答主
回答量:2991
采纳率:30%
帮助的人:3113万
展开全部
% pause(n) pauses execution for n seconds before continuing, where n can be any nonnegative real number. The resolution of the clock is platform specific. A fractional pause of 0.01 seconds should be supported on most platforms.
本回答被提问者和网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
GhostXHawk
2014-01-14
知道答主
回答量:21
采纳率:0%
帮助的人:12.5万
展开全部
pause(你需要延迟的时间长度)
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 更多回答(1)
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式