Typescript Nested Functions In Matlab Examples