MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Uživatelská příručka Strana 499

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 574
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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);
Zobrazit stránku 498
1 2 ... 494 495 496 497 498 499 500 501 502 503 504 ... 573 574

Komentáře k této Příručce

Žádné komentáře