| 查看: 1613 | 回复: 8 | |||
| 当前主题已经存档。 | |||
[交流]
[求助]请问 matlab怎样暂停和继续
|
|||
|
我有一个计算,算了十几天了,还没有结束,请问怎么暂停,看看中间情况,然后怎么继续让它算?(有看到一种说是ctrl+c暂停,停完如何继续?) 另外,有时候会算到能看到matlab在运行,数字在哗哗的闪,但是鼠标对整个程序不能控制,而电脑其他程序什么的都正常可用.这是怎么回事,要怎么处理? 谢谢 ! [ Last edited by sunxiao on 2009-3-9 at 08:48 ] |
» 猜你喜欢
时间戳又变了
已经有6人回复
2026年面上项目中了,2A+B, 会评顺利通过
已经有5人回复
售T0P一区SCI文章,我:8O5.51.O.54,科目齐全,可+急
已经有4人回复
面上项目2026年人工智能评审意见,不知道是否上会
已经有9人回复
售T0P一区SCI文章,我:8O5.51.O.54,科目齐全,可+急
已经有4人回复
大家好,校样时候的紧急求助,请各位帮帮忙了
已经有7人回复
昨日死,今日生
已经有7人回复
售T0P一区SCI文章,我:8O5.51.O.54,科目齐全,可+急
已经有7人回复
植酸TLC薄层色谱爬板
已经有6人回复
单宁酸
已经有3人回复
2楼2008-11-06 15:16:45
ning903
木虫 (职业作家)
笨笨家族小海豚
- 应助: 0 (幼儿园)
- 金币: 3413
- 散金: 5
- 帖子: 4508
- 在线: 4.5小时
- 虫号: 548188
- 注册: 2008-04-18
- 性别: GG
- 专业: 化工系统工程
百度的,不知道对你有没有用
★ ★ ★
wendy_seu(金币+1,VIP+0):仍然谢谢你!
lei0736(金币+2,VIP+0):谢谢
wendy_seu(金币+1,VIP+0):仍然谢谢你!
lei0736(金币+2,VIP+0):谢谢
|
加一个pause就可以了。 pause Halt execution temporarily Syntax pause pause(n) pause on pause off Description pause, by itself, causes M-files to stop and wait for you to press any key before continuing. 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. Typing pause(inf) puts you into an infinite loop. To return to the MATLAB prompt, type Ctrl+C. pause on allows subsequent pause commands to pause execution. pause off ensures that any subsequent pause or pause(n) statements do not pause execution. This allows normally interactive scripts to run unattended. |

3楼2008-11-06 19:28:36
4楼2008-11-06 22:34:08
5楼2008-11-06 22:35:44
wangyb4142
金虫 (正式写手)
- 应助: 0 (幼儿园)
- 金币: 1288.9
- 帖子: 305
- 在线: 41.3小时
- 虫号: 548414
- 注册: 2008-04-18
- 性别: MM
- 专业: 天体测量和天文地球动力学
6楼2008-11-07 01:10:51
7楼2008-11-07 11:22:14
8楼2008-11-07 21:23:29
9楼2008-11-16 00:14:33











回复此楼