How can I get the timestamp of the Raspberry Pi in a program to save Raspberry Pi camera board captured images with the timestamp ?

4 ビュー (過去 30 日間)
How can I get the timestamp of the Raspberry Pi in a program to save Raspberry Pi camera board captured images with the timestamp ?I already followed this but could not get any help https://www.mathworks.com/help/supportpkg/raspberrypiio/examples/working-with-raspberry-pi-camera-board.html#responsive_offcanvas. Also this application is for a Standalone Raspberry Pi program.

回答 (1 件)

Shraddha Jain
Shraddha Jain 2020 年 12 月 24 日
Hi Nipuna,
As per my understanding, if your Raspberry Pi is interacting with MATLAB and you wish to save the captured images from the Camera Board in MATLAB, then I would suggest getting the current timestamp using the datetime function as,
datetime('now')
Further, you may deploy the MATLAB code as a standalone application on Raspberry Pi. For more information follow this link https://www.mathworks.com/discovery/raspberry-pi-programming-matlab-simulink.html.
Hope it helps!

カテゴリ

Help Center および File ExchangeRaspberry Pi Hardware についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by