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)
0 个评论
采纳的回答
Chris Portal
2016-4-12
UITABLE is not supported in App Designer yet unfortunately.
2 个评论
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
2016-4-15
Thank you for the feedback Iain. Agree with your points and your comments have been passed along to the developers.
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!