请问如何重新设置matlab以editor打开m文件

2024-11-06 20:05:00
推荐回答(1个)
回答(1):

也就是关联扩展名啊执行以下代码>> cwd=pwd;cd([matlabroot '\toolbox\matlab\winfun\private']);fileassoc('add',{'.m','.mat','.fig','.p','.mdl',['.' mexext]}); %重点cd(cwd);disp('Changed Windows file associations. FIG, M, MAT, MDL, MEX, and P files are now associated with MATLAB.')>>