I have text file which includes a matrix. I want to read it in julia as a matrix.
The text file is like:
0 0 0 0 0 0 0
1 0 0 0 0 0 0
1 0 0 0 0 0 1
1 0 0 0 1 1 0
In matlab you can do the following to create matrix M
:
file='name.txt';
[M] = load(file);
How to do same thing in Julia?