Effacer les filtres
Effacer les filtres

How do you concatenate several .mat files into one?

3 vues (au cours des 30 derniers jours)
Lianna Johnson
Lianna Johnson le 30 Mai 2013
I have the following .mat files...
20130529_SPLBRENT3_000004.mat
20130529_SPLBRENT3_010022.mat
20130529_SPLBRENT3_020022.mat
I am trying to combine them into one .mat file with the name "20130529_SPLBRENT3_concat.mat"
Anyone know how I can do this?
  2 commentaires
Walter Roberson
Walter Roberson le 30 Mai 2013
Are the variable names distinct in them? Or do they all have the same variable name and you want the resulting .mat to have the result of concatenating all of those contents together? If so then do you want to concatenate vertically, horizontally, or on the next higher dimension after the current variables (e.g., if the existing variables are 5 dimensional, produce a 6-dimensional result) ?
Lianna Johnson
Lianna Johnson le 30 Mai 2013
They all have the same variable name and I want the resulting .mat file to have the result of concatenating all of the contents together. I would like to concatenate vertically.

Connectez-vous pour commenter.

Réponses (1)

Sean de Wolski
Sean de Wolski le 30 Mai 2013
Modifié(e) : Sean de Wolski le 30 Mai 2013
You may also find the matfile class helpful:
doc matfile

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by