When you connect a real-time Scope block to the output of a Mux block, sometimes you cannot view the output from the Mux block. This issue occurs because the Mux block produces a virtual signal, which the code optimizer removes when it generates the real-time executable.
To address this issue, insert a Gain block with
the Gain parameter set to
the input to the Scope block.