I wrote this simple code to understand loading and saving
save 'testtan.dat' tan
load 'testtan.dat' 'tan'
Error using load
Number of columns on line 2 of ASCII file testtan.dat must be the same as previous lines.
So. I need help understanding what it means. My matrix seems to be fair but what does it mean ' columns of ASCII file'.
I have used importdata and other methods, they are fine but I want to understand load function in depth as i will be using it a lot.