MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guida Utente Pagina 499

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 498
DiskLogger
18-9
clear vidobj
Using an AVI File
Create and configure an AVI file object.
file = avifile('logfile.avi');
file.Quality = 50;
Create and configure a video input object.
vid = videoinput('winvideo', 1);
vid.LoggingMode = 'disk&memory';
vid.DiskLogger = file;
Start logging data to disk.
start(vid)
To ensure that the logged data is written to the disk file, close the AVI file. As an
argument to the close function, specify the value of the video input object DiskLogger
property, vid.DiskLogger, to reference the AVI file object, not the original variable,
file, returned by the avifile function.
file = close(vid.DiskLogger);
Vedere la pagina 498
1 2 ... 494 495 496 497 498 499 500 501 502 503 504 ... 573 574

Commenti su questo manuale

Nessun commento