MATLAB 的 cell,称单元格数组 or 元胞数组:使用频率特别高,甚至比 struct 结构体还高. MATLAB文档给出的 cell 官方定义: A cell array is a collection of containers called cells in which you can store different types of data. 精华之处就是在可以存储不同类型的数据.可以是Matlab的类型或者自定义的类型. 一个元胞数组的一个单元可能包含:一个实数数组 or 字
基本数据获取: In [38]: import datetime as dt In [39]: on = dt.datetime.now() #获取当前准确时间 In [40]: on Out[40]: datetime.datetime(2018, 9, 17, 15, 5, 7, 30934) In [41]: print(on) 2018-09-17 15:05:07.030934 In [42]: to = dt.datetime.today() #获取今天的时间,today与now功能