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
No products are associated with this question.
Data = fileread(FileName); Data = strrep(Data, ',', '.'); FID = fopen(NewFileName, 'w'); fwrite(FID, Data, 'char'); fclose(FID);
I've looked in the activity log, but did not find the one, who has deleted the comments.
@shaz: did you delete your comments? If so, please stop doing this, because it makes the complete thread confusing and there reduces the quality of the forum.
Deletions do not appear in the activity log. The activity log is created by actively querying the database for the records that it still has. The metainfo for the entries is deleted along with the entries being deleted.
2 Comments
Direct link to this comment:
http://mathworks.com/matlabcentral/answers/51399#comment_113718
@shaz: Please care about your own questions. Your rate of accepting answers is very low and I find a lot of questions for clarifications, which you did not answer. This demotivates others to help you.
Direct link to this comment:
http://mathworks.com/matlabcentral/answers/51399#comment_113750
Please read the guide to tags and retag this question; see http://www.mathworks.co.uk/matlabcentral/answers/43073-a-guide-to-tags