Clear Filters
Clear Filters

What is the use of flag in matlab coding ??

10 views (last 30 days)
Ansuman Padhi
Ansuman Padhi on 11 Jun 2014
Commented: Walter Roberson on 13 Feb 2020
why we set flag=1 or 2 like this
  3 Comments
kavya nalla
kavya nalla on 13 Feb 2020
some one please explain about flag instruction in matlab in load flows
Walter Roberson
Walter Roberson on 13 Feb 2020
kavya nalla, could you point us to a place where that kind of code occurs?

Sign in to comment.

Answers (1)

Ilham Hardy
Ilham Hardy on 11 Jun 2014
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..

Categories

Find more on MATLAB 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!