Tracking the size of a variable

1 次查看(过去 30 天)
Matthew Hunt
Matthew Hunt 2019-3-20
回答: Rik 2019-3-20
Hi,
I have a vector of length 200. When I run my program it somehow halfs in length, and I have no idea why. Is there a way of tracking this to see when it changes.

回答(1 个)

Rik
Rik 2019-3-20
Yes. Set a break-point at the beginning of your function and go through your code step by step.

Community Treasure Hunt

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

Start Hunting!

Translated by