function liveCapture() %#codegen% To enable code generation for hardware interfaces
hwobj = jetson;
w = webcam(hwobj,1,'1280x800');
d = imageDisplay(hwobj);
for k = 1:2000
% Capture the image from the webcam on hardware.
img = snapshot(w);
% Display image.
image(d,img);
end
### Launching the executable on the target...
Executable launched successfully with process ID 12821.
Displaying the simple runtime log for the executable...