How to restart the some portion of script for number of times ?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
채택된 답변
Guillaume
2016년 8월 26일
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.
추가 답변 (1개)
Azzi Abdelmalek
2016년 8월 22일
Use a for loop
참고 항목
카테고리
Help Center 및 File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!