what does the "%#ok<NASGU>" mean
Show older comments
[success, message] = mkdir(dir); %#ok<NASGU> I want to know the meaning of "%#ok<NASGU>".
Answers (2)
Aleem Alvi
on 5 Jul 2018
1 vote
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
mechetoune walid
on 1 Apr 2019
0 votes
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.
Categories
Find more on 图像算术 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!