MergeTables

version 1.0.1 (1.62 KB) by Micke Malmström
Merges one table into an existing table while making sure the datatypes are the same.

3 Downloads

Updated 26 Sep 2022

View License

% [MergedDataTable] = MergeTables(Table1,Table2,Table2SheetName)
% Merges two tables (from excel files) making sure that the imported tables
% have same dataformat
% input: Table1 (table or filepath-string to the master table which
% decides the dataformat of the merged table)
% Table2 (filepath-string to the seccond table with data to be
% added to the Table1)
% Table2SheetName Sheet name of Table2 (String)
%
% output MergedDataTable contains the outer join of the two tables
% CC Swerim

Cite As

Micke Malmström (2022). MergeTables (https://www.mathworks.com/matlabcentral/fileexchange/118130-mergetables), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2022b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!