Typescript Get Function Matlab Simulink Electrical Circuit