Accepted Answer

varname1 = categorical(["2022/02/01";"2022/02/01"])
varname1 = 2×1 categorical array
2022/02/01 2022/02/01
varname12 = datetime(string(varname1),'InputFormat','yyyy/MM/dd')
varname12 = 2×1 datetime array
01-Feb-2022 01-Feb-2022

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!