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);||
2 个评论
Rik
2018-10-2
Have a read here (or here for more general advice) and here. It will greatly improve your chances of getting an answer.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Graphics Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!