MATLAB 帮助中心
获取有关 Vector BLF 文件的信息
binf = blfinfo(blfFile)
binf = blfinfo(blfFile) 解析有关 Vector 二进制记录格式 (BLF) 文件的格式和内容的一般信息,并将信息以结构体 binf 返回。
binf
blfFile
示例
全部折叠
检索和查看有关 BLF 文件的信息。
binf = blfinfo("c:\DataFiles\MultiChannelFile.blf")
binf = struct with fields: Name: "MultiChannelFile.blf" Path: "c:\DataFiles\MultiChannelFile.blf" Application: "CANalyzer" ApplicationVersion: "10.0.114" Objects: 35 StartTime: 18-Jul-2018 16:47:11.490 EndTime: 18-Jul-2018 16:47:18.490 ChannelList: [2×3 table]
binf.ChannelList
ans = 2×3 table ChannelID Protocol Objects _________ ________ _______ 1 "CAN FD" 4 2 "CAN" 4
BLF 文件的路径,指定为字符串或字符向量。该值可以指定当前文件夹中的文件,也可以指定相对路径名称或完整路径名称。
示例: "MultipleChannelFile.blf"
"MultipleChannelFile.blf"
数据类型: char | string
char
string
来自 BLF 文件的信息,以具有以下字段的结构体形式返回。
Name Path Application ApplicationVersion Objects StartTime EndTime ChannelList
在 R2019a 中推出
blfread
blfwrite
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处