MATLAB Answers

I would like to adjust camera source settings (exposure time) during Simulink runtime

11 views (last 30 days)
Travis Danner
Travis Danner on 20 Nov 2019
Answered: Andrei Ursache on 8 Sep 2020
I am using the image acquisition toolbox block, From Video Device. Many camera settings can be adjusted using the Properties settings prior to running, however these appear to be locked when the simulation is going. I would like to adjust the camera exposure time using the image mean; too dark or too bright then adjust expsoure.
Is there a way to programmatically adjust these with a custom function block?
matlab temp 1.png
matlab temp 2.png

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!