Typescript Function Declaration In Matlab