Matlab Create Empty Array Javascript Append