How to combine mat file
Show older comments
I have two mat files named databaseA.mat and datalabelB.mat which have different sizes, databaseA.mat is 8100 x 80 double and datalabelB.mat is 1 x 80 double. I need to combine them into one mat file but don't change their size. Actually I have combined them with the following code
ALoad = load( 'databaseA.mat' );
BLoad = load( 'datalabelB.mat' );
save( 'databaseAB.mat', 'ALoad' );
save( 'databaseAB.mat', 'BLoad', '-append' );
but result "struct" type data, whereas I don't desire it. Could you correct it? Thank you for your help.
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!