uitable in app designer

2 次查看(过去 30 天)
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)

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by