Bad allocation importing MDF file

I'm trying to import a (Inca) MDF file by using read function
linkData = mdf(fileName);
rawDat = read(linkData);
however the following comes out
Any suggestion to solve the problem?

답변 (1개)

Aritra
Aritra 2023년 3월 23일

0 개 추천

As per my understanding you are trying to import a MDF file in MATLAB.
To solve this, you can make use of the “mdfRead” function. The “mdfRead“ reads channel data from MDF-file.
You can also view MDF-file metadata using the “mdfInfo“ function.
For more clarity you can refer to the below example:
% Replace "VehicleData.mf4" with your filename.
data = mdfRead("VehicleData.mf4");
fileInfo = mdfInfo("VehicleData.mf4")
For detail, please see this MathWorks documentation below for more information on “Read Data from MDF-Files”:

댓글 수: 1

claudio
claudio 2023년 3월 23일
Unfortunately I have not Matlab 2023a. Does the "read" function have limitations on the size of the input file?

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

제품

릴리스

R2022a

태그

질문:

2023년 3월 22일

댓글:

2023년 3월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by