Vehicle Network Toolbox MDF read error

조회 수: 7 (최근 30일)
Johannes
Johannes 2017년 4월 12일
댓글: Hari Desanur 2017년 4월 17일
I was provided with a mdf meassurement file recorded with Vector hardware by an automotive OEM. I can read in the content of the file using vehicle network toolbox:
mdfContent = mdf(filename);
The file contains 1475 channel groups. Each with a differing number of signals. I tried to read a subst of these signals. Unfortunately I get an error for some channel groups. Therefore I tried to red out all channel groups by:
readErrors = [];
for channelGroupIterator = 1 : numel(mdfContent.ChannelGroup)
try
data = read(mdfContent, channelGroupIterator, mdfContent.ChannelNames{channelGroupIterator});
catch ME
readErrors = [readErrors; {channelGroupIterator, ME.identifier}];
end
end
I get an error for 1020 of the 1475 channel groups. The error is one of the two:
'asam_mdf:Errors:eStatusStringTableEntry'
'asam_mdf:Errors:eFileReadError'
Can someone supply me with additional information on what causes these errors or how to circumvent them? The file can be processed using the Vector tool CANape. From there a valid mat-File export is possible, but usage of an external tool means high additional effort. Therfore, the vehicle network toolbox is the prefered solution.
  댓글 수: 1
Hari Desanur
Hari Desanur 2017년 4월 17일
The issue could be that the parser which reads the MDF measurement file is not able to read the input file correctly. Please can you provide the MDF file which you are using so that I can reproduce this issue.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Vehicle Dynamics and Scenarios에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by