help breakHi All,
I'm running a population model in Matlab (using an mfile) and Im calculating populations due to certain external conditions using a few for loops. Anyway, if the population reaches 25000 the species will collapse (i.e. become extinct no matter how the external conditions change), and I want my for loop to stop if that population reaches 25000 or less, but I dont know how.
Does anyone know such a command to end that loop at that point when n becomes <= 25000?
Thanks in advance for any help