scan4errors

バージョン 1.0.0 (1.99 KB) 作成者: Paul Shoemaker
Scans folders for Matlab files that have MLINT errors and warnings
ダウンロード: 12
更新 2018/7/22

ライセンスの表示

% SCAN4ERRORS searches the current directory (recursively) for Matlab .m files with code errors/warnings (mlint)
%
% errors = scan4errors(files) searches the FILES structure created by a "dir" command and returns all detected errors. Warnings are ignored. If not
% provided (or empty), FILES will use the current working directory. By default, only errors (i.e. red MLINT) will be returned in the ERRORS structure.
%
% errors = scan4errors(files,severity) allows the user to define the severity of errors and warnings that are returned. The default is "errors" meaning
% that only error messages will be returned (i.e. red MLINT). "Severe" may be used to return both errors and severe warnings, and "all" will return
% all errors and warnings. Argument is case-insensitive.

% License to use and modify this code is granted freely to all interested,
% as long as the original author is referenced and attributed as such. The
% original author maintains the right to be solely associated with this
% work.
%
% Programmed and Copyright by Paul Shoemaker: www.matlabinvesting.com
%
% Change Log
% - Revision 1.0 (21 Jul 2018): Initial release

引用

Paul Shoemaker (2024). scan4errors (https://www.mathworks.com/matlabcentral/fileexchange/68284-scan4errors), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2018a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersSearch Path についてさらに検索
タグ タグを追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0