Tracking the size of a variable

2 ビュー (過去 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.

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by