Creating matrixes in .mat file
    7 vues (au cours des 30 derniers jours)
  
       Afficher commentaires plus anciens
    
I want to create a .mat file and inside the .mat file, there are variables that represent individual matrices. So lets say in the .mat file I have a, b, c, d. And each a, b, c, d has its own matrix and I can add contents into each matrix. Is there a way to do this? thanks
1 commentaire
  José-Luis
      
 le 25 Juin 2014
				
      Modifié(e) : José-Luis
      
 le 25 Juin 2014
  
			You can place as many individual elements in a .mat file as memory permits. Those can be scalars, structures, cell arrays, tables, etc...
Please read the documentation on save to see how to put several variables in a .mat file.
 doc save
Réponse acceptée
  Sandip More
 le 25 Juin 2014
        Yeah Victor. It can be done easily. Please specify matrix a b c and d and then simply create matrix whose elements are a b c d. It works. try it out.
0 commentaires
Plus de réponses (1)
Voir également
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!