https://nl.mathworks.com/help/sl3d/sim3d.environment.weatherconfiguration.html
sim3d.environment.WeatherConfiguration - Control scene weather and sun position - MATLAB
Use the sim3d.environment.WeatherConfiguration object to create a weather configuration object to control the weather and the position of the sun in the 3D...
sun positionenvironmentcontrolsceneweather