登录论坛

查看完整版本 : [MATLAB基础] 刚刚保存过的M文件竟然打不开!!!!


wupeifu
2009-08-10, 23:50
我在matlab命令窗口输入open strtok.m 却出现以下的错误:
??? Error: File: E:\matlab\strtok.m Line: 32 Column: 31
The end operator must be used within an array index expression.

Error in ==> finfo at 36
ext = strtok(ext,'.');

Error in ==> open at 112
[fileType, openAction] = finfo(fullpath);
路径没问题。我的current directory就是E:\matlab
这是为什么呢????