debugging within built in matlab function

3 次查看(过去 30 天)
Hello , I want to see how my data being proccessed with polyfit function given my input vectors.
breaking point can only be put on the output of the function but i cant put breaking points and do debugging inside the polyfit.
Can i some how put breaking points inside polyfit?
Thanks.

采纳的回答

Ajay Kumar
Ajay Kumar 2020-5-15
编辑:Ajay Kumar 2020-5-15
right click on polyfit in editor window and select open "polyfit"
You can see the complete code behind polyfit and you can place breakpoints there.
Try to avoid changing the novel code as it deals with input and output arguments and changing them or saving it by mistake can lead to misbehaving of the function later.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by