Typescript Get Function Matlab Example Problems