?? get_video_data.m
字號:
% get_video_data.m
imaqreset
hw=imaqhwinfo('winvideo'); %create video object
if length(hw.DeviceIDs)>0
msg='Grab live data from camera or load captured data from file?';
button=questdlg(msg,'Data source','Grab','Load','Load');
switch button
case 'Grab'
setup_live_capture
case 'Load'
load_captured_data
otherwise
error('user aborted program')
end
else
load_captured_data
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -