converting .mat to .dat file

106 次查看(过去 30 天)
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

采纳的回答

Sarah Wait Zaranek
Sarah Wait Zaranek 2012-3-27
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.
  1 个评论
hardik
hardik 2012-4-12
thank you very much for that....and how do i save this .dat file to a new location so that i can load it to the linux?
sorry for late response :P
for example can u specify me few lines for saving to a new place.

请先登录,再进行评论。

更多回答(1 个)

clubsher
clubsher 2019-1-8
hi,i am very interested in you research. can you share your data with me . i need some help . thank you

类别

Help CenterFile Exchange 中查找有关 Low-Level File I/O 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by