How do I read a file with space separated values to become a matrix in Julia?


I am having problems with types.

I have a text file with three space separated rows with three floats numerical values in each row. Each row ends with CR.

How do I read this file into a 3x3 matrix, holding numerical values in Julia?


x = readdlm(“filename”) should do it