what does the "%#ok<NASGU>" mean

[success, message] = mkdir(dir); %#ok<NASGU> I want to know the meaning of "%#ok<NASGU>".

Respuestas (2)

Aleem Alvi
Aleem Alvi el 5 de Jul. de 2018

1 voto

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
mechetoune walid el 1 de Abr. de 2019

0 votos

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.

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 25 de En. de 2018

Respondida:

el 1 de Abr. de 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!