can i run a matlab script for specific number of times automatically

조회 수: 2 (최근 30일)
joy
joy 2014년 8월 1일
답변: Image Analyst 2014년 8월 2일
Hi,
I have a matlab script and I need to run the program and have to take the o/p for certain amount times..is there any way to do so..or I can use for loop?
thanx

답변 (2개)

Rick Rosson
Rick Rosson 2014년 8월 2일
Yes, use a for loop

Image Analyst
Image Analyst 2014년 8월 2일
Of course you can use a for loop, but what does "automatically" mean to you ? Of course you will have to start the m-file with the for loop in it and that is manual, unless you need someway of starting it automatically such as upon launching MATLAB or booting your computer.

카테고리

Help CenterFile Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by