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

1 次查看(过去 30 天)
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);||

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

标签

产品


版本

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by