MATLAB: Cant’t I save an array

arraysavestruct

I'm trying to save a 1063×1 double called ewa to a file with this line of code:
save(ewa.mat, ewa);
I get this error: Attempt to reference field of non-structure array.

Best Answer

save('ewa.mat', ewa);