Table Field Selector

版本 1.0.0 (21.5 KB) 作者: William Warriner
GUI utility to enable your users to assign fields from their data tables to important fields in your application.
17.0 次下载
更新时间 2021/9/10

MATLAB Table Field Selector

A configurable UI enabling your users to select which fields in a table are relevant to your application. For the purposes of this documentation, the fields your application needs are called "metanames". Fields your users provide are just called "fields".

Operation

Call select(config, t) on the user table t and a config struct. A modal uifigure will be created waiting for the user to finish selections. The return value will be a containers.Map object whose keys are your metanames and whose values are the user's fields. If the user clicks "Cancel" or closes the uifigure without clicking "Done" an empty array will be returned.

Configuration

To configure, create a config struct with the following fields.

  • metanames - A list of names suitable for display. The user will select fields to match these.
  • default_selection - The default selection value for metanames. Must be a scalar string.

User Guide

For each field on the left table, please use the table drop-downs to select columns from the table preview on the right. Double click in the left-hand table cells to change them. To exit early, click "Cancel" or close the window. To finish click "Done". The "Done" button will only highlight once all cells have been filled.

引用格式

William Warriner (2024). Table Field Selector (https://github.com/wwarriner/matlab_table_field_selector), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2021a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库