[MATLAB] Added funcptr example
[MATLAB] Added funcptr2 example