The example uses the electronic scanning, i.e., scanning the beam via changing the phase at each element. Also for simple rotation, it isn't too difficult to write one yourself. You just need to use a different orientation at each angle and then userangeangle to compute the target angle relative to the array.
Best Answer