INFO:
Switch between continuous and discrete domains. This example shows how to update a Simulink PID controller block in order to easily move between the two domains.
Modeling Continuous and Discrete Systems in One Simulink Model | Getting Started with Simulink, Part 8 - MATLAB & Simulink