Clear Filters
Clear Filters

App designer error show no line numbers

3 views (last 30 days)
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?

Accepted Answer

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)


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




Community Treasure Hunt

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

Start Hunting!