There is no direct way for modifying the vision.VideoPlayer menu objects. However, as a workaround, you may gain access to figure handle of the object and then access the individual parameters using 'findobj'. For example, the two parameters "Drop frame to improve performance" and " Fit to Window" can be modified by executing the following commands:
1. Gain access to figure handle of the vision.VideoPlayer object
>> set(0,'showHiddenHandles','on')
>> fig_handle = gcf ;
>> fig_handle.findobj
2. Modify and execute "Fit to Window" option.
>>ftw = fig_handle.findobj ('TooltipString', 'Maintain fit to window')
>>ftw.ClickedCallback()
3. Modify and toggle "Drop frame to improve performance" parameter. Note that the object can also be searched by sequentially navigating through the Children properties of the 'Playback' menu option.
>> df = fig_handle.findobj('Label', 'Dr&op Frames to Improve Performance')
>> df.Callback();
More information on navigating object handles may be found in the documentation at the following links:
Best Answer