tblvertcat

バージョン 2.0.0 (3.39 KB) 作成者: Sterling Baird
Vertically concatenate 2+ tables, each with common and/or different field names and variable number of rows.
ダウンロード: 379
更新 2020/9/5

ライセンスの表示

Inputs supported by outerjoin (double, char, cell, struct, etc.) are supported here.

A test function is also supplied. This is where the submission icon comes from. I mainly referenced https://www.mathworks.com/matlabcentral/answers/179290-merge-tables-with-different-dimensions and https://www.mathworks.com/matlabcentral/answers/410053-outerjoin-tables-with-identical-variable-names-and-unique-non-unique-keys in writing this.

My main use of this function is to vertically concatenate tables containing different parameters and results into a "master table" that I can filter, even when I add other parameters or results to track later. Hope you find it useful.

I use the arguments (Repeating) ... end syntax, hence the R2019b+ compatibility.

引用

Sterling Baird (2024). tblvertcat (https://www.mathworks.com/matlabcentral/fileexchange/79912-tblvertcat), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2020a
R2019b 以降 R2020a 以前と互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
2.0.0

Revamped the code to use outerjoin. The code is few lines now. Cosmetic updates to Description.

1.0.3

Added functionality for variable number of rows and updated summary

1.0.2

Update Release Compatibility, Title, Summary, and Description.

1.0.1

Updated icon

1.0.0