R2022a problem: Line number missing in error message sent to Command Window.
古いコメントを表示
With R2022a, line numbers are sometimes omitted in error messages. Here's an example using a trivial script:

If I run the same script in R2021b, here's the result:

Weird. What's going on?
Is there a way to fix this in R2022a?
5 件のコメント
Bruno Luong
2022 年 4 月 21 日
+1 I confirm I have the same issue now and then. It seems like a bug of the editor.
Scott MacKenzie
2022 年 4 月 21 日
Adam Danz
2022 年 4 月 22 日
It looks like this only affects unrecognized table variables.
Thanks for reporting it!
Scott MacKenzie
2022 年 4 月 22 日
David Szwer
2022 年 5 月 17 日
I get this problem too; also regarding tables, but a different error.
>> ProcessAll
Error using ProcessMovement
All tables being vertically concatenated must have the same number of variables.
Error in ProcessAll (line 10)
[moving, moveN] = ProcessMovement(filedir, 0);
Note that ProcessAll and ProcessMovement are both functions. Back in the day, Matlab wouldn't show line numbers at all if the error was in a script; this isn't a reversion to that behaviour, it is something different.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Tables についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

