want to change data

조회 수: 1 (최근 30일)
근영 박
근영 박 2022년 2월 22일
댓글: 근영 박 2022년 2월 22일
I want to change "VarName1" into "VarName12" with script.

채택된 답변

Cris LaPierre
Cris LaPierre 2022년 2월 22일
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
  댓글 수: 1
근영 박
근영 박 2022년 2월 22일
Thank you so much.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Dates and Time에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by