From: Vishwanath on
I am new to matlab and simulink.

I need to simulate a PLL in simulink. I have constructed the PLL with different components - multiplier, filter and the VCO. The input to the multiplier is a sine wave. The VCO output is discretised by a zero order hold and then the FFT scope was added to view the ouput.
I am not able to get any output on the FFT scope. The specifications i have added for the FFT block

Sine Wave block; Frequency: 2*pi*1e6, All other parameters: default.

Spectrum Scope parameters; Buffer input: on, Buffer size: 512, Buffer overlap: 256, Window type: Kaiser, Beta: 5, Specify FFT length: off, Number of Spectral averages: 1.

The VCO block; Quiescent frequency: 1e6, Input sensitivity: 1e5, Initial phase: 0.

Where do i change the simualtion time?
Please help!!!!
Thank you in advance.