matlab文件编辑器,matlab写出两种打开M文件编辑器的方法
chanchongju
新兵答主
11-27
TA獲得超過4944個贊
注意最新版的matlab,用右擊.m文件打開然后查找文件關聯到meditor.exe,你是找不到matlab安裝程序下的編輯器程序的,而只能找到matlab.exe之類的無效關聯。所以不如索性用help里面自帶的辦法:
打開matlab,然后打開help窗口,然后打開help目錄找到第一個條目Matlab-》User''s Guide->Desktop Tools and Development Environment ->Start up and Shutdown->Starting and Quitting the MATLAB Program:然后查看右邊窗口的內容部分,點擊Starting the MATLAB Program on Windows Platforms鏈接,窗口跳到下面點擊Associating Files with MATLAB on Windows Platforms鏈接,然后窗口往下拉找到如下內容:
==========================================================================
Utilities to Set Up File Associations on Windows Platforms. If you are viewing this topic in the MATLAB Help browser, you can run one of the utilities provided here to create associations in the Windows environment for common file types used by MATLAB. This requires you to have permission to write to the HKEY_CLASSES_ROOT registry key, which typically requires power user or administrator privileges.
*
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
The file type icon in the Windows Explorer tool might not reflect the change immediately.
=====================================================
直接點擊上面這個鏈接 Run utility to associate files with .m extension with MATLAB就ok了。然后回到windows下隨便找個.m文件直接雙擊,整個世界就亮了!
總結
以上是生活随笔為你收集整理的matlab文件编辑器,matlab写出两种打开M文件编辑器的方法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: vscode 英伟达tk1_英伟达的未来
- 下一篇: 灰色马尔科夫模型matlab实现