If you simulate a model on your host computer without running it on your target hardware:
Input blocks produce zeros.
Output blocks do nothing.
This is the expected behavior.
For example, in a model, if you select Simulation > Mode > Normal and then select Simulation > Run, the following happens:
The sensor block and Digital Input block send zeros to the model.
The Digital Output block does nothing.
To see the blocks work normally, run your model on target hardware or use External mode.
To run the model on target hardware, select Tools > Run on Target Hardware > Prepare to Run. Then, click the Deploy to Hardware button.
To use External mode, select Simulation > Mode > External. Then, select Simulation > Run.