mdfChannelGroupInfo
语法
说明
返回有关指定 MDF 文件中所有通道组的信息表。infoTable = mdfChannelGroupInfo(mdfFileName)
仅返回由 infoTable = mdfChannelGroupInfo(mdfFileName,GroupNumber=grpNum)grpNum 指定的组的有关信息。对于一个组,通道组编号 grpNum 指定为数值标量;对于多个组,指定为数值向量。
示例
获取关于所有组的信息。
gi = mdfChannelGroupInfo("VehicleData.mf4")gi =
2×13 table
GroupNumber AcquisitionName Comment NumSamples DataSize Sorted SourceName SourcePath SourceComment SourceType SourceBusType SourceBusChannelNumber SourceSimulated
___________ _______________ ___________________________________________________________________________ __________ ________ ______ ___________ ___________ _____________ ___________ _____________ ______________________ _______________
1 <undefined> Simulation of an automatic transmission controller during passing maneuver. 751 43558 true <undefined> <undefined> <undefined> Unspecified Unspecified 0 false
2 <undefined> Simulation of engine gas dynamics. 92033 2208792 true <undefined> <undefined> <undefined> Unspecified Unspecified 0 false 获取特定组的信息。
gi = mdfChannelGroupInfo("VehicleData.mf4",GroupNumber=2)gi =
1×13 table
GroupNumber AcquisitionName Comment NumSamples DataSize Sorted SourceName SourcePath SourceComment SourceType SourceBusType SourceBusChannelNumber SourceSimulated
___________ _______________ __________________________________ __________ ________ ______ ___________ ___________ _____________ ___________ _____________ ______________________ _______________
2 <undefined> Simulation of engine gas dynamics. 92033 2208792 true <undefined> <undefined> <undefined> Unspecified Unspecified 0 false 输入参数
MDF 文件名(包括必要的完整或相对路径),指定为字符串或字符向量。您可以使用 URL 来指定远程服务器上的文件。
根据您要访问的位置,mdfFileName 可以采用以下形式之一。
位置 | 形式 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 当前文件夹或 MATLAB® 路径 | 要访问当前文件夹或 MATLAB 路径中的文件,请在 示例: | ||||||||
其他文件夹 | 要访问当前文件夹以外的文件夹中的文件,请在 示例: 示例: | ||||||||
远程位置 | 要访问远程位置的文件,
根据远程位置,
有关详细信息,请参阅处理远程数据。 示例: |
数据类型: string | char
输出参量
在组表中返回的通道组信息。
版本历史记录
在 R2023a 中推出您可以直接访问存储在远程位置的 MDF 文件数据,包括 Amazon S3、Azure® Blob 存储和 HDFS。
MATLAB Command
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 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)