How to restart the some portion of script for number of times ?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I want to restart my some portion of script for number of times. Script is basically input-math-disp type code... Is there any loop or function to do so ? Please help...thx HAVE A GOOD DAY...
0 commentaires
Réponse acceptée
Guillaume
le 26 Août 2016
Even better than a loop (or in combination). Extract the portion of script that is repeated into a function that you then call from your script.
Plus de réponses (1)
Azzi Abdelmalek
le 22 Août 2016
Use a for loop
Voir également
Catégories
En savoir plus sur Loops and Conditional Statements dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!