打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
MATLAB中延时的实现

MATLAB中延时的实现

(2010-04-19 21:46:25 )
http://blog.sina.com.cn/s/blog_4aee288a0100ibri.html
采用MATLAB中的延时函数pause:

Halt execution temporarily

使用方法:
pause
pause(n)
pause on
pause off

函数描述:

pause, by itself, causes M-files to stop and wait for you topress any key before continuing.

pause(n) pauses execution for n seconds before continuing, wheren can be any nonnegative real number. The resolution of the clockis platform specific. A fractional pause of 0.01 seconds should besupported on most platforms.

pause(inf) puts you into an infinite loop. To return to theMATLAB prompt, type Ctrl+C.

pause on allows subsequent pause commands to pauseexecution.

pause off ensures that any subsequent pause or pause(n)statements do not pause execution. This allows normally interactivescripts to run unattended.

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Matlab中使用Plot函数动态画图方法总结
玩转matlab之通信应用
第四章MATLAB函数
1. MATLAB 画普通的函数
自相关函数和互相关函数的matlab计算和作图
Matlab关于sigexpand函数功能解析
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服