The error indicates that fopen returned an invalid file ID.
[fid,msg] = fopen(filename)
if fid < 0
More than likely, the file is not in the current working directory. try
That will show you if the file is being found, if it doesn't give a result, you'll need to provide the full path to the file.