what does the "%#ok<NASGU>" mean
20 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
[success, message] = mkdir(dir); %#ok<NASGU> I want to know the meaning of "%#ok<NASGU>".
0 commentaires
Réponses (2)
Aleem Alvi
le 5 Juil 2018
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 commentaires
mechetoune walid
le 1 Avr 2019
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 commentaires
Voir également
Catégories
En savoir plus sur 图像算术 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!