필터 지우기
필터 지우기

How do i save .avi file imported through a GUI into a variable so it can be played?

조회 수: 1 (최근 30일)
i have created a GUI and have opened the .avi file into this, however it doesn't right the .avi file to a variable when its opened, how would i do this.
this is the code so far:
% --- Executes on button press in pushbutton6.import video function pushbutton6_Callback(hObject, eventdata, handles) % hObject handle to pushbutton6 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)
[nm,pth]=uigetfile({'*.avi'},'Load Matlab File'); mmObj=mmreader([pth,nm]); handles.pth=pth; handles.nm=nm; handles.Video=mmObj; image1=read(mmObj,1); axes(handles.axes1); imshow(image1); guidata(hObject,handles);

답변 (1개)

Franchesca
Franchesca 2014년 5월 13일
Can anybody help???

태그

Community Treasure Hunt

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

Start Hunting!

Translated by