Not able to display variables in the command line window from an app created by App Designer
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I am not able to display variable values in the command line windows from an uitable component using App Designer. Ways to display information, like using get() and disp(), or excluding the semi-colon, display no information whatsoever and no error messages.
Worth mentioning is that the startupFcn (which runs when starting the app) allows me to display variables in the command line window. But for some reason, this is not the case when I try to display variables during callback actions for the uitable nor in static class functions.
This issue makes the app development a lot more cumbersome. A workaround is to use the function statement assignin('base','varible_name',var) which outputs a variable to the base workspace with a given variable name, which in turn may be inspected in the variable view during runtime.
Perhaps there are other ways to inspect variables when using App Designer in a quick and easy way that I am not aware of? ...Or, perhaps there is a bug in uifigure, uitable or in the engine running the app?
Best regards, Didrik
0 comentarios
Respuestas (1)
Ben Drebing
el 11 de En. de 2018
Unfortunately, this is a current limitation of MATLAB. But our development team is aware of this and looking into it!
Ver también
Categorías
Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!