MATLAB: Writing matlab result to a txt file

matrix

i produced an adjacency matrix in matlab, how i can write that to a txt file use as an input in R please?

Best Answer

Hi
Have you tried csvwrite?
csvwrite('myfile.txt', M);
I'm sure R can read csv files.