Converting .m to .mat

4 views (last 30 days)
Alejandro Turpin
Alejandro Turpin on 11 Nov 2018
Answered: madhan ravi on 11 Nov 2018
Hi There!
So my problem is that I saved variables as a .m file instead .mat and now I'd like to recover them. I had a 3D array of dimensions 150x150x2000 and I saved it with the option "save my_data.m var", where "var" is the 3D array variable. I didn´t realize that I wrote ".m" instead ".mat" and now I cannot recover the "var" information. Is there really a way to get them back? It's been like days work for such a stupid mistake :(
Thanks!
  1 Comment
Alejandro Turpin
Alejandro Turpin on 11 Nov 2018
Hey folks, I solved the problem just by changing the file extension. I'm silly..
Thanks! Alex

Sign in to comment.

Answers (1)

madhan ravi
madhan ravi on 11 Nov 2018
change .m to .mat

Products


Release

R2017b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!