How to find the source line for a 'ans' output displayed in command window

14 次查看(过去 30 天)
I am running a code in a function, at the end of the code, an output is getting generated as junk. So could you please help me out in finding source line for the data. The data is being generated as 'ans' without any variable. I have tried echo and debugging the code, but of no use. Kindly resolve.
  3 个评论
Brendan Hamm
Brendan Hamm 2018-3-14
The Code Analyzer should provide a message on this. Open the file and on the right hand side you will likely see an orange dash on the offending line.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by