MATLAB: How to convert the samples of sinusoid to binary form

conversion of samples of sinusoid into binary or bit format in simulinkmatlab r2016b communication system toolboxrf satellite link modelsimulinksimulink block to convert samples into bits

In matlab r2016b 'RF satellite link documentation', the original model has 'Bernoulli binary generator' block as an input signal. I have replaced it with a 'DSP sine wave generator' block. how to convert the samples of sinusoid into the binary form? please find the Picture of the original as well as modified model as an attachment to this question.
Related Question