Lua Output Command Matlab For Loop