이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.
MDF 파일
이 툴박스는 MDF 파일에 대한 읽기 및 쓰기 액세스를 제공합니다. MDF 파일을 정렬하고 완성할 수 있으며, 첨부 파일을 추가, 저장 또는 제거할 수 있습니다.
mdfDatastore를 사용하여 큰 MDF 파일이나 여러 개의 MDF 파일로 구성된 데이터저장소에 액세스하십시오.
함수
읽기
mdfInfo | Access or create MDF file metadata |
mdfChannelGroupInfo | Get channel group metadata from MDF file (R2023a 이후) |
mdfChannelInfo | Get channel metadata from MDF file (R2023a 이후) |
mdfRead | MDF 파일에서 채널 데이터 읽기 (R2023a 이후) |
mdfVisualize | View channel data from MDF file |
LIN 데이터
linDatabase | Create LIN database from LDF file (R2025a 이후) |
linMessageTimetable | Convert LIN messages into timetable (R2025a 이후) |
쓰기
mdfCreate | Create MDF file with metadata (R2022a 이후) |
mdfWrite | Write timetable data to MDF file (R2022a 이후) |
mdfAddChannelGroupMetadata | Add channel group and channel metadata to timetable (R2022a 이후) |
파일 작업
mdfSort | Sort MDF file by ASAM standards |
mdfFinalize | Finalize MDF file by ASAM standards (R2021b 이후) |
mdfSaveAttachment | Save embedded attachment files from MDF file (R2023a 이후) |
mdfAddAttachment | Attach file to MDF file (R2022a 이후) |
mdfRemoveAttachment | Remove attachment from MDF file (R2022a 이후) |
mdfDatastore | Datastore for collection of MDF files |
read | Read data in MDF datastore |
readall | Read all data in MDF datastore |
preview | Subset of data from MDF datastore |
reset | Reset MDF datastore to initial state |
hasdata | Determine if data is available to read from MDF datastore |
partition | Partition MDF datastore |
numpartitions | Number of partitions for MDF datastore |
도움말 항목
- Transition Your mdf Object Code
Update your code to directly access MDF files, instead of using
mdfobjects. - Troubleshooting MDF Applications
Troubleshoot common issues with MDF file applications.
추천 예제
Read Physical and Raw Data from MDF Files
Read channel data from an MDF file as physical values and raw values.
Work with Unfinalized and Unsorted MDF Files
Work with unfinalized and unsorted MDF files. The unfinalized MDF file used in this example, MDFUnfinalized.MF4, was recorded by a CANedge2 CAN bus data logger from CSS Electronics.
Customize Metadata When Writing Timetable Data to MDF Files
Customize the file, channel group, and channel metadata when writing timetable data to an MDF file.
Decode and Write CAN Data in MDF Files
Import and decode CAN data from an MDF file in MATLAB® for analysis, and write the decoded data back to the same file.
Decode J1939 Data from MDF Files
Import and decode J1939 data from MDF files in MATLAB® for analysis. The MDF file used in this example was generated from Vector CANoe using the "System Configuration (J1939)" sample. This example also uses the CAN database file, Powertrain_J1939_MDF.dbc, provided with the Vector sample configuration.
Get Started with MDF Datastore
Use the MDF datastore feature of Vehicle Network Toolbox™ to quickly and efficiently process a data set spread across a collection of multiple MDF files. This workflow is also valuable when there are too much data to fit into available memory.
Analyze Data Using MDF Datastore and Tall Arrays
Work with a big data set using tall arrays and the MDF datastore feature. Tall arrays are commonly used to perform calculations on different types of data that do not fit in memory.
Data Analytics Application with Many MDF Files
Investigate vehicle battery power during discharge mode across various drive cycles. The data for this analysis are contained in a set of vehicle log files in MDF format. For this example, we need to build up a mechanism that can "detect" when the vehicle battery is in a given mode. What we are really doing is building a detector to determine when a signal of interest (battery power in this case) meets specific criteria. When the criteria is met, we will call that an "event". Each event will be subsequently "qualified" by imposing time bounds. That is to say an event is "qualified" if it persists for at least 5 seconds (such a qualification step can help limit noise and remove transients). The thresholds shown in this example are illustrative only.
Map Channels from MDF Files to Simulink Model Input Ports
Programmatically map channels from MDF files and consume their data via input ports of a Simulink® model. It performs the gathering of input port names of a Simulink model and correlates them to the content of a given MDF file. A linkage between them is then created which consumes channel data sourced from the MDF file when the model runs.
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)










