Cam mate with a difference

Hi There,

I am trying to figure out how to apply a cam mate, however, my cam is not the typical closed profile cam as you will see in the attached image.

I want to drive the cam (block A) left and right which will effect an up and down motion to the follower (block B).

The typical cam mate only seems to allow selection of a closed profile for the cam.

Any suggestions please?

Thanks

SolidworksAssemblies