How to set continue function?
Afficher commentaires plus anciens
What the function that i need to set code-step which will decide wheter my coding continue to run or stop.
i want create a code after rows named 'checkperiod'. If the result of checkperiod is true(1), i want it to stop my running code and send me a message "Make the structure bigger" and this message can be string-variable. If the resut of checkperiod is false(0), then let it continue but still send me the message by string variable that contains "fullfill".
Thank for attention

1 commentaire
Dyuman Joshi
le 13 Fév 2024
Modifié(e) : Dyuman Joshi
le 13 Fév 2024
The use of logical() in line 157 is redudant. You can remove it.
Réponse acceptée
Plus de réponses (1)
Fangjun Jiang
le 13 Fév 2024
1 vote
doc continue
doc break
1 commentaire
Dyuman Joshi
le 13 Fév 2024
Also, doc return
Catégories
En savoir plus sur Clocks and Timers dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!