Error using load when I try to previously saved .mat file in MATLAB 2016a

1 view (last 30 days)
Hi there,
I have a problem with opening a saved .mat file. I am getting this error:
Error using load Number of columns on line 2 of ASCII file J:\FeatureSelectionGA\Results22Jan2017.mat must be the same as previous lines.
Any help would be appreciated! Tahnks

Accepted Answer

Walter Roberson
Walter Roberson on 22 Jan 2017
Your .mat file is not a valid binary .mat file. It might be a text file, but if so then it does not contain text saved as -ASCII
  5 Comments
Abdolrahman Peimankar
Abdolrahman Peimankar on 22 Jan 2017
Forgot to mention that I can run the code again and get the results. However, it takes a couple of hours :)

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!