How to name vide files by acquisition start time?
1 回表示 (過去 30 日間)
古いコメントを表示
採用された回答
Stephen23
2015 年 2 月 23 日
編集済み: Stephen23
2015 年 2 月 23 日
Use now or clock to grab the time value, and then convert this to a string using datestr. You can use datestr's optional formatOut argument to specify how you want the string to look like:
datestr(clock,12)
or
datestr(clock,'HH:MM:SS')
should work
2 件のコメント
Stephen23
2015 年 2 月 23 日
That depends entirely on which time value you want to use: at the trigger time, the begin or the end of the video sequence? You can try this yourself: try putting that code before start(vid), or before wait or after wait, depending on what time value you are interested in using.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で GigE Vision Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!