what does the "%#ok<NASGU>" mean
조회 수: 20 (최근 30일)
이전 댓글 표시
[success, message] = mkdir(dir); %#ok<NASGU> I want to know the meaning of "%#ok<NASGU>".
댓글 수: 0
답변 (2개)
Aleem Alvi
2018년 7월 5일
Hi dao2shui,
NASGU is the ID for the message, e.g., 'The value assigned here to variable 'nothandle' might never be used.'.
Please see https://www.mathworks.com/help/matlab/ref/mlint.html
댓글 수: 0
mechetoune walid
2019년 4월 1일
This message ignore the error of conflict in the statement.you can use it when Another assignment overwrites the value of the variable before an operation uses it.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 图像算术에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!