UI Table can not choose short column format
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm making a school work with appdesign, and I'm having a problem displaing my table with correct format.
Here is an image:
![Capturar.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/208604/Capturar.png)
I want to round and only display 4 decimal numbers. (eg: 0.0024)
I have tried:
app.Matrix.ColumnFormat = {'short' 'short' 'short' 'short' 'short' 'short' 'short' 'short' 'short' 'short' 'short' 'short' 'short' 'short' 'short' }
And didn't worked, the result was this:
![Capturar.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/208605/Capturar.png)
I have tried evertying, can someone help please?
Thanks.
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!