App designer error show no line numbers

4 views (last 30 days)
Pawel
Pawel on 21 May 2019
Answered: Pawel on 21 May 2019
I have R2019a and when running the app build with App Designer (either by using Run from App Designer or Matlab command line) the encountered errors do not give the line number where the error occured. The error is just displayed and the program stopps but with no indication on where the error occured.
I got error "Matrix dimensions must agree." and that is it! No information about what line, what variable, nothing. This is like walking in the dark.
That is insanely annoying and makes debugging impossible.
Does anybody know how to make the App designer to display line numbers when error occurs?
thanks

Accepted Answer

Pawel
Pawel on 21 May 2019
I found the work around here:
It is mind buggling that Matlab is so poor in that regard.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!