📄 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 + -