where can i find all the special comment properties ?
조회 수: 60 (최근 30일)
이전 댓글 표시
OMKARAM RAJESHWARA RAJU
2020년 8월 15일
편집: OMKARAM RAJESHWARA RAJU
2020년 10월 20일
as i am going through the codes i can see some special comments
%#ok<SAGROW>
%#ok<AGROW>
%#ok<NOPTS>
where can i find all such special comment properties.
if possible please share a link of such documentation.
thanks in advance..!
댓글 수: 0
채택된 답변
John D'Errico
2020년 8월 15일
These are flags to allow you to supress specific MATLAB code analyzer warnings.
Perhaps best, read here:
As MATLAB has evolved over the years, the need for specific warnings has also evolved. So I don't know of a specific hard list of all possible warnings.
You can also look at the MATLAB preferences for the Code Analyzer.
댓글 수: 2
Stephen23
2020년 8월 15일
The recommended/default suppression codes do change by version, and most likely get added/removed too, so any list is likely to need to be version-specific.
추가 답변 (1개)
Image Analyst
2020년 8월 15일
- Type control-shift-f.
- In the "Find files containing text" field, put %#ok<
- In the "Include only file type(s):" field, select *.m
- Select the current folder, or any other folder you want.
- Check "Include subfolders" checkbox.
- Click Find
This will find all places in your m-files where the author put lines like that.
If you actually want to know what those symbols mean, then check the other answer(s).
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!