Linux下matlab断点调试

来源:互联网 发布:淘宝客服晚上几点下班 编辑:程序博客网 时间:2024/05/21 11:11

参考:http://cn.mathworks.com/help/matlab/ref/dbstop.html#inputarg_condition

几个重要命令:
dbstop in file :在file的第一行设置断点
dbstop in file at location:在file的location设置断点
dbstop in file if expression:在expression为真时调试
dbstop in file at location if expressione
dbstop if condition: condition可选error | caught error | warning | naninf | …

dbclear all:清理所有断点
dbcont: 断点后继续执行
dbstep:断点后单步执行
dbquit(或者:ctrl+c):退出执行

0 0
原创粉丝点击