Matlab For Loop, It can be run both under interactive sessions and as a batch job.