如果文件路径里有空格,如 program files,那么这个路径用双引号括起来就可以了。

delete 'D:/Program Files/MATLAB/R2008b/CollaborativeDemo/APR_PVM/EachUserModel/*.mat';