It is unlikely that you will be able to do what you want in that way. The fields in the pulse source must be numbers or parameters that can be resolved into a number BEFORE the beginning of the simulation. If you are trying to create a PWM signal with a fixed frequency and a variable duty cycle that will respond to a control voltage, there are better ways to accomplish that.