Postgres For Loop Continue Statement In Matlab