How to suppress the editor's automatic code analysis checking the filename?

2 ビュー (過去 30 日間)
Andres
Andres 2013 年 9 月 12 日
コメント済み: Andres 2013 年 11 月 20 日
Hi everyone,
the Matlab R2013b editor's automatic code analysis now displays an error (red sign) at the end of the file if the filename 'is not formed from a valid MATLAB identifier'.
I intentionally use file names containing spaces for some sort of scripts that I do not run from the command line or from within other m-files, and that are not located inside the matlab path. Instead I use 'run and advance', 'evaluate entire file' etc.
The red sign disturbs me. How can I suppress this without deactivating the whole code analysis?
I looked at Preferences -> MATLAB -> Code Analyzer but I didn't find the appropriate option.
Thanks for your support,
kind regards
Andres

回答 (1 件)

Jan
Jan 2013 年 9 月 12 日
While I do not know how to suppress the message of the code analysis, replacing the spaces by underscores in the file names would be very easy.
  1 件のコメント
Andres
Andres 2013 年 11 月 20 日
Thanks for the idea, Jan, but I'm not willing to rename a heap of files. I've filed a service request.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by