MATLAB: Why can’t i Load .mat file? It shows ” cannot read the file”

load

Hello,
Recently, i face a difficulties in matlab. When i load my .mat file, it shows Cannot read file.
But i am sure that the file exists and the path is correct. And i was able to read it before.This situation happens several times. Is there anyone who knows how to solve this? Thanks

Best Answer

It's like this one. There are R1 and diff in this file. And i can load diff, but not R1. By the way, "Load" can work with only one variable, like below:
load("filename.mat", "diff")
And what do you mean generating file again? Do you mean that i need to create the file again and abandon the corrupted one?