uitable in app designer

2 visualizaciones (últimos 30 días)
Tor Hadas
Tor Hadas el 12 de Abr. de 2016
Comentada: Chris Portal el 15 de Abr. de 2016
Can I create a uitable in mlapp?
when I try i get this error:
Error in uitable (line 51)
thandle = builtin('uitable', varargin{:});
Error in appdesigner.internal.service.AppManagementService/tryCallback (line 179)
callback(app);
Error in matlab.apps.AppBase/runStartupFcn (line 22)
appdesigner.internal.service.AppManagementService.instance().tryCallback(app, startfcn, false, []);
Error in PasteData (line 111)
runStartupFcn(app, @startupFcn)

Respuesta aceptada

Chris Portal
Chris Portal el 12 de Abr. de 2016
UITABLE is not supported in App Designer yet unfortunately.
  2 comentarios
Iain Strachan
Iain Strachan el 13 de Abr. de 2016
As well as supporting UITABLE in App Designer for it to be any use Mathworks have seriously got to improve the performance of the component. While updating is fast for pure numeric data it is TERRIBLE for mixed numeric and string data when the Data property has to be set as a cell array. I need to populate a table with mixed string, date and numeric data in the different columns and the only way to do this as far as I can see is to convert it to a cell array. If I have only a comparatively modest number of rows (say 1000) it takes several seconds for the display to update, which is totally unacceptable.
I have had to resort to accessing the underlying Java component directly, following guidance from the Undocumented Matlab website.
It would also be essential to be able to format individual cells/rows highlighting in different colours etc.
Chris Portal
Chris Portal el 15 de Abr. de 2016
Thank you for the feedback Iain. Agree with your points and your comments have been passed along to the developers.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by