Js Get Input Array Matlab Onramp