I am using Matlab 2019b on 3 different computers.
on all of them, when I save a MAT-file using Matlab itself and then try to load it, it gives the message:
"Unable to read MAT-file LHS_Samples.mat not a binary MAT-file."
I saved using the command:
save('LHS_Samples');
to save all the variables in the workspace. The variables in the workspace are only arrays and the largest is a 500x10 matrix.
and then I loaded them using:
load('LHS_Samples');
I went to General > Preferences > MAT-files
and tried to choose different Versions to see whether it would change anything, but no luck
I also tried saving the MAT-file as version 4 and then 6: save('LHS_Samples','-v4');
sill, the error persists.
Why can't Matlab load a MAT-file that it created itself? This doesn't make any sense.
any help is appreciated, thanks!