MATLAB 帮助中心
Subset of data from MDF datastore
data = preview(mdfds)
data = preview(mdfds) returns a subset of data from MDF datastore mdfds without changing the current position in the datastore.
data
mdfds
example
collapse all
mdfds = mdfDatastore("C:\myMDFData\CANape.MF4"); data = preview(mdfds)
data2 = 10×74 timetable Time Counter_B4 Counter_B5 Counter_B6 Counter_B7 PWM ______________ __________ __________ __________ __________ ___ 0.00082554 sec 0 0 1 0 100 0.010826 sec 0 0 1 0 100 0.020826 sec 0 0 1 0 100 0.030826 sec 0 0 1 0 100 0.040826 sec 0 0 1 0 100 0.050826 sec 0 0 1 0 100 0.060826 sec 0 0 1 0 100 0.070826 sec 0 0 1 0 100
MDF datastore, specified as an MDF datastore object.
Example: mdfds = mdfDatastore("CANape.MF4")
mdfds = mdfDatastore("CANape.MF4")
Subset of data, returned as a timetable of MDF records.
Introduced in R2017b
mdfDatastore
read
hasdata
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处