打开matlab的help窗口,找到MATLAB / User's Guide / Desktop Tools and Development Environment / Startup and Shutdown / Starting and Quitting the MATLAB Program / Association Files with MATLAB on Windows Platforms,往下翻直接找到下面这样的链接,直接点击,MATLAB会帮你自动关联。
Run utility to associate files with .fig extension with MATLAB Run utility to associate files with .m extension with MATLAB Run utility to associate files with .mat extension with MATLAB Run utility to associate files with .mdl extension with MATLAB Run utility to associate MATLAB with MEX-files Run utility to associate MATLAB with P-files Run utility to associate MATLAB with all of these file types: FIG, M, MAT, MDL, MEX, and P
你把自定义函数的M文件放在Matlab路径里,这样系统能够找到,这样就可以了
调用或者运行一个,窗口打开另一个运行。
调用或者运行一个,窗口打开另一个运行。
再看看别人怎么说的。