I'm looking to separate strings in a text file with commas in Matlab, so far I've used "csvwrite" and "dlmwrite".
They generally take this form:
myFile - input ('Please enter file's directory','s');
readMatrix - csvread(myFile);
csvwrite('newdatafile.dat', readMatrix);
To clarify, what I am trying to do is this :
Turn a text file that looks like this:
0.3
0.1
0.5
etc
To This:
0.3,
0.1,
0.5,
etc,