I understand that you want to know how you can use “Gate Driver” in Simulink and the reason for not using ground with “Comparator”.
The “Gate Driver” block provides an abstracted representation of a gate driver integrated circuit. The block models input hysteresis, propagation delay, and turn-on/turn-off dynamics.
You can connect the input of the driver block to your control signal (e.g., from a PWM generator) and connect the output of the driver block to the gate of the power transistor or other components you are driving.
A comparator compares two input voltages and outputs a signal based on which input is higher. Typically, one input is connected to a reference voltage, and the other to the signal you want to compare.
If you connect one input of the comparator to ground, it will always compare the other input against 0V. This might not be effective if your signal varies around a different reference voltage.
Ensure that the reference voltage for the comparator is set appropriately for your application. Avoid grounding one input unless your application specifically requires comparing against 0V.
You can refer the below documentation links for more info on “Comparator” and “Driver” blocks: