Repeat statements a specific number of times
Matlab | Scilab |
for |
for |
The variable used as loop index is cleared in Scilab if all iterations were achieved ; but is not cleared if loop is escaped by a break. In Matlab, this variable is never cleared.