date to string conversion
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Lakshmi Chodavarapu
am 27 Dez. 2021
Kommentiert: Lakshmi Chodavarapu
am 28 Dez. 2021
when using the following code s value is prited as '00000'
Help me what the problem is.. dtntm field has date and time
aa=(DD_SlantSmoothTEC(j).dtntm);
aaa=datestr(aa);
s=strcat(aaa(1:2),aaa(4:6));
fn1=sprintf('%s%s','DD-VTEC Vs UT,HYDE-IISC PRN PAIR DAY ',s);
title(fn1);
1 Kommentar
Stephen23
am 27 Dez. 2021
Do NOT use the outdated, deprecated, imprecise DATESTR, DATEVEC, or DATENUM.
Akzeptierte Antwort
Siehe auch
Kategorien
Mehr zu Dates and Time finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!