Currently, the MATLAB Support Package for Parrot Drones does not support controlling of the camera angle in parrot bebop 2 from MATALB.
However, you can do so by using the FreeFlight Pro application. Details about the same are available in the following user guide https://www.parrot.com/assets/s3fs-public/2021-09/bebop-2_user-guide_uk.pdf