Hi,
I am trying to convert .mat file to csv on Matlab. It is very simple but I am getting an error csvwrite command.
Mycodes,
y = load('data.mat');
csvwrite('test.csv', y);
csvwrite line gives this error : Error using csvwrite (line 2) Undefined function 'real' for input arguments of type 'struct'.
However, my .mat file have no any problem. Each cells has a variable which are real number.
Why does Matlab give this error?