matlab中常见预定变量
date,clock,year,month,day,now,today
>> date
ans = '31-Jul-2020'
>> clock
ans =
1.0e+03 *
2.0200 0.0070 0.0310 0.0200 0.0420 0.0540
year,month,day与now,today搭配使用
>> year(now)
ans = 2020
>> month(now)
ans = 7
>> day(today)
ans = 31