Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Sabina
Sabina le 2 Oct 2018
Commenté : Sabina le 2 Oct 2018
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 commentaires
Rik
Rik le 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.
Sabina
Sabina le 2 Oct 2018
thanks, I corrected

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Tags

Produits


Version

R2016a

Community Treasure Hunt

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

Start Hunting!

Translated by