converting .mat to .dat file
103 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hardik
le 27 Mar 2012
Réponse apportée : Prateekee Chatterjee
le 4 Juin 2024
Hi everyone....i have recorded some data of some partial discharge in the .mat format. the data contains x and y variables and displays the graph.
i want to convert this information into .dat so that i can use my linux software and sample the data collected.
can someone tell me how to convert this to .dat format.
cheers hardik
0 commentaires
Réponse acceptée
Sarah Wait Zaranek
le 27 Mar 2012
This should do it. Note: I made a sample mat-file with x,y,a as my variables.
load test.mat
dlmwrite('test.dat',[x y a])
This will write a ASCII format file using the default delimiter (,). You can use another delimiter if you wish.
Plus de réponses (1)
Prateekee Chatterjee
le 4 Juin 2024
What if the mat file is so large, MATLAB cannot show me all the variables itself. How do I then convert it to dat?
0 commentaires
Voir également
Catégories
En savoir plus sur Convert Image Type 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!