How to control external voltage via PWM

Then we have to assume the module allows remote setting of the output voltage?
Paul