ENH: specific warning if matlab file is empty

Give a more specific and informative error when the matlab file is empty. 
Closes gh-4081