What is the use of flag in matlab coding ??

why we set flag=1 or 2 like this

3 comentarios

Ilham Hardy
Ilham Hardy el 11 de Jun. de 2014
Roger,
Why do you flag a question about flag?
kavya nalla
kavya nalla el 13 de Feb. de 2020
some one please explain about flag instruction in matlab in load flows
Walter Roberson
Walter Roberson el 13 de Feb. de 2020
kavya nalla, could you point us to a place where that kind of code occurs?

Iniciar sesión para comentar.

Respuestas (1)

Ilham Hardy
Ilham Hardy el 11 de Jun. de 2014

0 votos

Hi,
It depends on the logic flow of the code/ the script.
It is ussually used to skip some part/condition of the code.
But again, it depends..

Categorías

Más información sobre MATLAB Coder en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 11 de Jun. de 2014

Comentada:

el 13 de Feb. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by