Info
此问题已关闭。 请重新打开它进行编辑或回答。
Could anyone help me how to five different mat files in workspace into a single mat file.
1 次查看(过去 30 天)
显示 更早的评论
I am having five different mat files as user1.mat,user2.mat,user3.mat,user4.mat and user5.mat
I want to combine all five mat file into a single mat file.could anyone please help me on it.
0 个评论
回答(1 个)
the cyclist
2020-3-9
One possibility is
user1 = load user1.mat
user2 = load user2.mat
user3 = load user3.mat
user4 = load user4.mat
user5 = load user5.mat
save user.mat
Each individual variable (e.g. user1) stored in user.mat will be a structure with the data from the corresponding file.
It's a shame you ended up in such a predicament. Take a look at this, which might help in the future.
1 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!