MATLAB: How to mate pin with a curved slot ?- Simmechanics

curved slotgearleverpin slotsimmechanicsSimscape Multibody

Hi all, I would like to mate the lever (with a pin) to the curved slot on the cam gear (see attached picture). I tried using pin slot but realized it's for linear translation. Any suggestions? Thanks in advance.
Related Question