Dear all,
I meet a problem exporting a vector from a .m file. The vector is elaborated from the steady state results of a dynare program and I would like to export it as an excel file.
I have used the following formula :
filename = ‘steady_state_output.xlsx’;
writecell(state_vector, filename);
and the following error message appears:
Error using writecell
Nested cell arrays are not supported.
Error in matching_vector (line 87)
writecell(state_vector, filename);
It seems that the writecell function is not appropriate.
Is anyone of you has a substitute function to export my vector ?
Thanks for the help