Solution:There is a bug in MATLAB R14 in the way it opens templates in GUIDE. It issues operating system commands like copy, attrib and when such commands are not found on the OS it throws these errors.
This bug has been fixed in Release 14 Service Pack 3 (R14SP3) in a way that it no longer depends on OS commands to open templates.
For previous product releases, read below for possible workarounds:
These error messages appear when your operating system's file copying command does not work as expected with MATLAB. To verify this, try using the "copy" command from a DOS command prompt.
1. Select "Run" from the "Start" menu.
2. Type "cmd" or "command" in the dialog box and click "OK".
3. At the DOS command prompt, type:
copy /?
If there is no output, then it is likely that the "copy" command is not on your system path.
If you are receiving an error regarding "attrib" not being recognizable, it indicates the "attrib" command is not on your system path. Similarly to the copy function, you can confirm this by typing the following in a DOS command window:
attrib /?
These files should be present in the windows\system32 directory and this directory should be present in the system's path. If you are not able to locate these files on your system, please contact your system administrator or Microsoft's technical support department, since these files are not provided by MATLAB itself, but rather by the operating system.