Writing workspace into csv format

조회 수: 10 (최근 30일)
Dzemal Bijedic
Dzemal Bijedic 2019년 12월 9일
댓글: Akira Agata 2019년 12월 10일
Hi
I have imported an acces file into the workspace and i need to write it to a csv format. The workspace only has 1 column (8736x1) of data which goes like this:
0.261
0.493
0.276
0.370
1.400 (problem area)
etc.
I am using writeformat to write it into csv, but whenever i do this any number that does not begin '0.' such as 1.400 become 14.00 in the csv file. Can anyone help me understand what i am doing wrong?
  댓글 수: 3
Dzemal Bijedic
Dzemal Bijedic 2019년 12월 9일
You're right, i meant writematrix. I zip file is attached to this answer. The variable is called nRT.
Akira Agata
Akira Agata 2019년 12월 10일
Running your program on MATLAB R2019b, the issue you mentioned could not be reproduced, as shown below. Could you tell us more details?
writematrix.PNG

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT Files에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by