import – Problems with importing .mat data that contains NaNs

I had a .mat data that I wanted to import to Mathematica. I tried using

Import("File path","Data")

But it didn’t work. It just returned de message “Import:Cannot import data as MAT format.”

Afterwords, I discovered that it wasn’t working because the file contained NaNs (I removed the NaNs form the original file and tried to import it and it worked).

I wanted to know why Mathematica couldn’t just import it normally and how to import this kind of data (.mat with NaNs) without having to change the actual file.