MergeTables

Merges one table into an existing table while making sure the datatypes are the same.
5 Downloads
Aktualisiert 26. Sep 2022

Lizenz anzeigen

% [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

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2022b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Tags Tags hinzufügen

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.1

added possibility to specify the sheet of the second table (to specify sheet of Table1, just import it correctly before running this function)

1.0.0