Hi Jozef,
You can refer to the documentation of sine wave block in Simulink. It supports the parameters like amplitude, frequency, phase and bias. A possible workaround to use this block is to appropriately add the 90 degree phase offset to the offset value you are interested in to obtain the cosine function from that block (since cosine and sine vary in phase by 90 degrees).
Hope this helps!