Communications Blockset | ![]() ![]() |
Pulse Generator
The Pulse Generator block, from the Simulink Sources library, generates the reference signal. The block produces a periodic pulse train. Double-click on the block to open the mask, as shown below.
The variable fr
, initially set to 30
MHz, denotes the frequency of the pulse train. The period of the pulse train is 1/fr
, which you can see in the Period parameter box.
The recommended way to change the value of the period is to change the value of the variable fr
in the MATLAB Command Window. This way the new value of fr
will be updated in all the blocks whose parameters are set using the variable fr
.
![]() | Blocks in the Model | Divide Frequency by M | ![]() |