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 Center および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by