[心得] M-lint造成M檔無法執行的解決方法已回收
如果看到
M-lint caused your previous MATLAB session to terminate unexpectedly.
An M-Lint problem analyzing this file caused your previous MATLAB session to
terminate unexpectedly.
類似的訊息,
這似乎是M-lint解析檔案錯誤使得MATLAB故障。
因為MATLAB M-lint解析如果出問題,
他似乎會把出問題的檔案名稱存起來並且不執行M-lint,
如此一來包括cell(區塊)執行,
變數/函數/語法偵測的功能全部都會消失。
解決方法:
1.在MATLAB的主控台下執行 prefdir,
這是MATLAB的preference檔案儲存處,
執行完會在主控台下看到prefdir的路徑。
2.去該位置找到一個檔案叫做 MLintFailureFiles,
將該檔案以純文字編輯程式打開,
例如打開記事本後把檔案拖曳進去。
3.找到出問題的檔案路徑,
並把那行刪除,
之後存檔,
重開matlab之後應該就ok了。
參考連結:
http://www.mathworks.com/matlabcentral/newsreader/view_thread/251626
http://www.mathworks.com/support/solutions/en/data/1-74JVT3/
--
→
06/25 21:30,
06/25 21:30
→
06/25 21:30,
06/25 21:30
→
06/25 21:30,
06/25 21:30
→
06/25 21:30,
06/25 21:30
→
06/25 21:30,
06/25 21:30
→
06/25 21:30,
06/25 21:30
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.116.201.115
推
08/10 19:00, , 1F
08/10 19:00, 1F