필터 지우기
필터 지우기

converting .mat to .dat file

조회 수: 103 (최근 30일)
hardik
hardik 2012년 3월 27일
답변: Prateekee Chatterjee 2024년 6월 4일
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개)

Prateekee Chatterjee
Prateekee Chatterjee 2024년 6월 4일
What if the mat file is so large, MATLAB cannot show me all the variables itself. How do I then convert it to dat?

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by