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...

采纳的回答

Guillaume
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
Azzi Abdelmalek 2016-8-22
Use a for loop
  4 个评论

请先登录,再进行评论。

类别

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