The error might be because of having spaces in the name of directory paths. Rename it such that it does not have any spaces.
You may also refer the following answers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!