To use specific refrigerants such as R1234yf, the "Two-Phase Fluid Predefined Properties (2P)" block can be utilised but it is only available from MATLAB R2020b. Here's the documentation link for the same:
In R2020a, the properties of the fluid would have to be set manually. This documentation page might help:
Hope this helps!