MATLAB Answers

Unable to load previous .mat file versions in latest MATLAB version

9 views (last 30 days)
divyasami27
divyasami27 on 9 Mar 2018
Commented: Walter Roberson on 18 May 2018
I created a .mat file in MATLAB version : R2014a and I try to open it in a later MATLAB version: R2017b and I am getting the following error:
Unable to read MAT-file <my file path> Not a binary MAT-file. Try load -ASCII
to read as text.
  11 Comments
Walter Roberson
Walter Roberson on 18 May 2018
.mat files are binary files that do not use line terminators.
Historically there could be problems sending binary files between systems by modem as the software was sometimes set to convert newline characters automatically (which does not work for binary files)... but those days are long behind us.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!