Hello Doris,
The error message you are receiving is due to an error inside the MATLAB code and not the interface between LabVIEW and MATLAB.
Looking at your code it appears that you are stripping off the absolute path information and MATLAB can not find the file. Leaving the path information may prevent this error from occurring.
Regards,
Matt F