for (Matlab function)

Repeat statements a specific number of times

Matlab/Scilab equivalent

Matlab Scilab

for
for

Particular cases

The variable used as loop index is clear in Scilab if all iterations have been made but is not clear if loop is ended by a break. In Matlab, this variable is never cleared.

Table Of Contents

This Page