필터 지우기
필터 지우기

Trouble with Raspberry Pi 4B in GUI design

조회 수: 1 (최근 30일)
To Tran Luan
To Tran Luan 2021년 10월 28일
So the problem is i was trying to take a snap shot and display the snapped picture on the Axes1 in the GUI that I design.
the code suppose to be recognize mypi and cam, variable as a value, but in this case there aren't any variable shown when the button1 is pushed. Please help. thank you
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
clear all
mypi=raspi;
cam = cameraboard(mypi,'Resolution', '1280x720');
img=snapshot(cam);
axes(handles.axes1);
imagesc(img);

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Raspberry Pi Hardware에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by