replace comma by dot
조회 수: 220 (최근 30일)
이전 댓글 표시
i have a csv file where comma is present in place of dot
this file needs to be imported to matlab & needs to replace comma by dot
댓글 수: 4
Taiwo Bamigboye
2020년 4월 4일
Have tried so hard to learn MATLAB on my own but it seems not working for me. Please is there anyone that knows it very well and ready to teach me via zoom or team view, off course am ready to pay. All this online learning is not intuitive for me.
Sandy Ramírez
2020년 9월 10일
Muy buena e importante la intervención con respecto a los signos de puntuación es importante tenerle respeto a la escritura..
채택된 답변
Jan
2012년 10월 20일
Data = fileread(FileName);
Data = strrep(Data, ',', '.');
FID = fopen(NewFileName, 'w');
fwrite(FID, Data, 'char');
fclose(FID);
댓글 수: 7
추가 답변 (1개)
Carlox Velez
2016년 4월 1일
It work super well and is a very fast solution Thanks for the answer Carlos
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Search Path에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!