debugging within built in matlab function

4 visualizaciones (últimos 30 días)
fima v
fima v el 15 de Mayo de 2020
Editada: Ajay Kumar el 15 de Mayo de 2020
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.

Respuesta aceptada

Ajay Kumar
Ajay Kumar el 15 de Mayo de 2020
Editada: Ajay Kumar el 15 de Mayo de 2020
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.

Más respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by