What is the use of flag in matlab coding ??

why we set flag=1 or 2 like this

3 个评论

Roger,
Why do you flag a question about flag?
some one please explain about flag instruction in matlab in load flows
kavya nalla, could you point us to a place where that kind of code occurs?

请先登录,再进行评论。

回答(1 个)

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..

类别

在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by