필터 지우기
필터 지우기

datetime: Undefined function 'datetime' for input arguments of type 'double'

조회 수: 16 (최근 30일)
I am using following code to convert datenum to datetime
x=723707;
y=datetime(x,'ConvertFrom','datenum');
I get the error message:
Undefined function 'datetime' for input arguments of type 'double'.
When I try
open datetime
I get the error message that
file 'datetime' does not exist.
I don't understand what's wrong. Please help. I am using MATLAB 2014a.

채택된 답변

Walter Roberson
Walter Roberson 2018년 5월 15일
datetime() was introduced in R2014b.
  댓글 수: 1
Abhinav
Abhinav 2018년 5월 15일
Oh. I apologize. I looked at the release version in 'datetime' argument and misread it for 2004.

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

추가 답변 (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