Re-enable M-Lint

本文介绍了如何解决MATLAB编辑器中M-Lint检查功能意外禁用的问题。具体步骤包括:重新打开文件、移除可能导致问题的代码行、删除特定配置文件并保存重启MATLAB文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Subject:

How do I re-enable M-Lint for a MATLAB file in MATLAB Editor 7.6 (R2008a)?

Problem Description:

When I get my cursor at the last line of my MATLAB file it brings up a data-tip with the following message:

M-Lint caused your previous MATLAB session to terminate unexpectedly.
Please send this message and file name
to The MathWorks. See "About M-Lint and Unexpected MATLAB Termination"
in the MATLAB documentation for details.

My code works fine. I would like to know how to get the normal M-Lint back for my MATLAB file.

Solution:

To reenable M-Lint for a MATLAB file:

(1) In the Editor, reopen the file that you were editing when MATLAB terminated.

(2) Remove the lines of code that you believe M-Lint could not handle.

(3) Delete the MLintFailureFiles file from your preferences directory. (The preferences directory is the directory that MATLAB returns when you run the function PREFDIR).

(4) Save and reopen the MATLAB file.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值