App designer error show no line numbers

3 Ansichten (letzte 30 Tage)
Pawel
Pawel am 21 Mai 2019
Beantwortet: Pawel am 21 Mai 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

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by