what does the "%#ok<NASGU>" mean
8 次查看(过去 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 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!