我收到此代码的错误
>> save([params.datapath '/' configfilename{1}],'params')
Error using save
Unable to open file "C:UsersRikDesktopmps
projectColdComplaintData/Data/filename-config_30-Jan-2016_20:25:46.mat" for output.
但不是此代码
>> save([params.datapath '/' 'ddd.mat'],'params')
问题出在哪里?谢谢。
Windows 不允许使用带冒号的文件名 (:)在他们
The following reserved characters:
< (less than)
> (greater than)
: (colon)
" (double quote)
/ (forward slash)
(backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)