Simulink
Setting voltage for potentionmeter
The amplitude doesn’t matter so you can just plug it directly into the power supply. We would want the reference voltage to be equal to the potentiometer voltage when the potentiometer at the halfway mark.
so figure out the voltage at the halfway mark.
and then set up a voltage level using op amps to get the reference voltage