csvwrite
csvwrite(filepath, X) writes numeric matrix X into file defined in filepath.
Examples
> X = rand(2,3)# 0.250924 0.0460958 0.676816 0.680573 0.320973 0.155359 > csvwrite('randnumbers.txt',X) [ans:1]
> X = rand(2,3)# 0.250924 0.0460958 0.676816 0.680573 0.320973 0.155359 > csvwrite('randnumbers.txt',X) [ans:1]