how to trace matlab code? and how to backtrack?
5 次查看(过去 30 天)
显示 更早的评论
I have matlab code of firefly algorithm and i want to trace so as to understand it. Pls can anyone help me?
0 个评论
回答(2 个)
Walter Roberson
2017-1-30
You can put a breakpoint in the first executable line. After that you can use the Step and Step in buttons. You can see who called this routine using dbstack. You can switch attention between calling routines using dbup and dbdown
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Debugging and Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!