Why does the menu-editor disappear in my gui when I select one of the items?
1 view (last 30 days)
Show older comments
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 Comments
Rik
on 2 Oct 2018
Have a read here (or here for more general advice) and here. It will greatly improve your chances of getting an answer.
Answers (0)
See Also
Categories
Find more on Application Deployment in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!