m文件雙擊為什麼打不開
① matlab的M文件雙擊沒反應
把你的文件移動到matlab包下的一個名為work的文件夾里
② 從matlab裡面打不開m文件,直接點擊也打不開
function nTabs(thisObj,Num){
if(thisObj.className == "active")return;
var tabObj = thisObj.parentNode.id;
var tabList = document.getElementById(tabObj).getElementsByTagName("li");
for(i=0; i <tabList.length; i++)
{
③ matlab文件 的m文件變成這樣打不開了,為什麼
是.m文件的打開方式關聯有問題
點擊右鍵--打開方式-選擇程序--選擇matlab就好。
④ matlab的.m文件雙擊打不開了,但是通過matlab可以打開,在網上搜索了很多答案,但都沒能解決問題。
我感覺沒必要這樣,因為僅僅查看m文件完全用不到打開龐大的matlab,我就是把m文件和Notepad++關聯的。
修復方式:右鍵,打開方式,選matllab。
⑤ 不知道怎麼弄的,無法直接雙擊打開m文件了(雙擊後只是啟動了matlab,沒有打開文件),只能在matlab里打開
注意最新版的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的M文件打不開
在set path裡面把路徑設定位文件存在的位置,並且在地址欄中將地址修改為文件存在的位置。
⑦ 文件雙擊打不開
你中了U盤病毒
u盤病毒專殺製作方法:
在桌面上建立一個文本文檔,然後粘貼如下文字:
@echo on
taskkill /im explorer.exe /f
taskkill /im wscript.exe
start reg add HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\EXplorer\Advanced /v ShowSuperHidden /t REG_DWORD /d 1 /f
start reg import kill.reg
del c:\autorun.* /f /q /as
del %SYSTEMROOT%\system32\autorun.* /f /q /as
del d:\autorun.* /f /q /as
del e:\autorun.* /f /q /as
del f:\autorun.* /f /q /as
del g:\autorun.* /f /q /as
del h:\autorun.* /f /q /as
del i:\autorun.* /f /q /as
del j:\autorun.* /f /q /as
del k:\autorun.* /f /q /as
del l:\autorun.* /f /q /as
start explorer.exe
然後保存,把文本文檔的後綴改為bat,然後雙擊運行,就可以了。
⑧ matlab中的M文件不能直接雙擊打開了,但從Matlab里能打開,請問各位高人這是怎麼回事
右擊m文件----》打開方式------>選擇程序--------》找到matlab,同時選擇下面的始終使用該方式打開這種文件。
⑨ matlab中的M文件突然不能直接雙擊打開了,但從Matlab里能打開,請問各位高人這是怎麼回事
改變一下路徑,把m文件放到work文件夾里試一下或許可以,我一般都是從MATLAB里啟動的,不是直接打開m文件