HGTable - functions for displaying tabular data in a MATLAB list control

版本 1.3.0.1 (23.5 KB) 作者: Malcolm Wood
Uses a standard MATLAB listbox to display multiple columns of data
3.4K 次下载
更新时间 2016/9/1

查看许可证

MATLAB's Handle Graphics infrastructure does not provide a control which displays tabular data. In recent versions of MATLAB it is possible to use a Java table to do display such data, but even this can be tricky.
The solution provided here is to use a list control to display the data, putting one row of data on each line, separating columns with bar characters, and using a fixed-width font to ensure that columns are aligned properly. Separate callbacks can be used to receive events when the user selects a row in the list and when a row is double-clicked.

The main limitation of this approach is that only entire rows can be selected, not columns or individual "cells".

引用格式

Malcolm Wood (2024). HGTable - functions for displaying tabular data in a MATLAB list control (https://www.mathworks.com/matlabcentral/fileexchange/10782-hgtable-functions-for-displaying-tabular-data-in-a-matlab-list-control), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R14SP3
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.3.0.1

Updated license

1.3.0.0

Updated requirements

1.2.0.0

Added copyright lines. Changed background colour of table in demo.

1.1.0.0

Review

1.0.0.0