The documentation links you referred belong to two different products i.e. Simulink Desktop Real Time and Simulink Real Time. We do not recommend using the "Analog Input blocks for boardName" for Simulink Real Time (previously known as XPC). For Simulink Desktop Real Time, you should be able to use the following block:
Use the Install New Board button to install the supported board from the list.
Hope this helps!