Effacer les filtres
Effacer les filtres

uitable in app designer

5 vues (au cours des 30 derniers jours)
Tor Hadas
Tor Hadas le 12 Avr 2016
Commenté : Chris Portal le 15 Avr 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)

Réponse acceptée

Chris Portal
Chris Portal le 12 Avr 2016
UITABLE is not supported in App Designer yet unfortunately.
  2 commentaires
Iain Strachan
Iain Strachan le 13 Avr 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 le 15 Avr 2016
Thank you for the feedback Iain. Agree with your points and your comments have been passed along to the developers.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by