imshow in app designer is not working

2 次查看(过去 30 天)
I am trying to show the first frame of a video on a gui in app designer. So far, everything seems to process, and I am not receiving any errors, but the image I want is not showing. All I get is the UIAxes disapears, and nothing shows up.
obj=VideoReader(x); vid=read(obj); firstframe=read(obj,1); imshow(firstframe,'Parent',app.UIAxes);

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by