Clear Filters
Clear Filters

Why does the menu-editor disappear in my gui when I select one of the items?

1 view (last 30 days)
With the help of such a function, I call the menu.
After watching the video from the menu, the menu stops working
function Untitled_1_Callback(hObject, eventdata, handles)
global videoFReader
faceDetector = vision.CascadeObjectDetector();
videoFReader = vision.VideoFileReader('Eurofighter TYPHOON.mp4');
%videoPlayer = vision.VideoPlayer;
depVideoPlayer = vision.DeployableVideoPlayer;
while ~isDone(videoFReader)
videoFrame = step(videoFReader);
step(depVideoPlayer , videoFrame);
end
axes(handles.axes1)
imshow(videoFReader);
function Untitled_2_Callback(hObject, eventdata, handles)
global EE;
EE
SEPECAT_Jaguar
function Untitled_3_Callback(hObject, eventdata, handles)
global videoFReader
faceDetector = vision.CascadeObjectDetector();
videoFReader = vision.VideoFileReader('Saab JAS-39 Gripen.mp4');
%videoPlayer = vision.VideoPlayer;
depVideoPlayer = vision.DeployableVideoPlayer;
while ~isDone(videoFReader)
videoFrame = step(videoFReader);
step(depVideoPlayer , videoFrame);
end
axes(handles.axes1)
imshow(videoFReader);||

Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Tags

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!