How to extract the DateTime info of an image using Matlab?

9 views (last 30 days)
I'm using the info.DateTime extension but it isn't working. Below are the screenshots of my work. Can someone help me fix this?

Accepted Answer

Les Beckham
Les Beckham on 24 Feb 2022
On line 34 you are extracting the first character from tme and assigning it to strTime. Why?
Try just using tme when you populate your table.
T(i,:) = {imgName, strLat, strLng, tme};
  2 Comments
Cristel Esmerna
Cristel Esmerna on 25 Feb 2022
I tried and it works. Thank you for answering. Much appreciated.
Les Beckham
Les Beckham on 25 Feb 2022
You are welcome.
Please accept the answer if it solved your problem.

Sign in to comment.

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!