Communications Blockset | ![]() ![]() |
Variables in the Model
When you load the model, it creates several variables, using the PostLoadFcn
model callback parameter. Besides the variables N
and M
, there are:
fr
= frequency of the reference signalfq
= quiescent frequency in the Voltage-Controlled Oscillator (VCO) blocksen
= Voltage-Controlled Oscillator input sensitivityThe model initially assigns values to these variables as follows: N
= 10
, M
= 3
, fr
= 30
MHz, fq
= 30
MHz and sen
= 40
MHz/V. The frequency of the synthesized signal will then be 100
MHz. After running the simulation with these values, you can later change them if you want to experiment with the model.
![]() | Phase-Locked Frequency Synthesis Demo | Running the Simulation | ![]() |