m文件不能雙擊打開,只能從matlab裏面打開-解決辦法

方法一(借鑑): cwd=pwd; cd([matlabroot '\mcr\toolbox\matlab\winfun\private']); fileassoc('add',{'.m','.mat','.fig','.p','.mdl',['.' mexext]});  cd(cwd); disp('Changed Windows file associations. FIG, M, MAT,
相關文章
相關標籤/搜索