matlab的m文件关联方法

 1、关联matlab 2012a 的.m文件
在命令窗口输入:
 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.')  


2、关于matlab 2015a怎么关联m文件的方法

可以查看帖子:http://www.ilovematlab.cn/thread-226036-1-1.html

或从CSDN上下载http://download.csdn.net/detail/ckghostwj/9261899,内部含有关联m文件的必备文件。

你可能感兴趣的:(matlab的m文件关联方法)