Bad allocation importing MDF file
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm trying to import a (Inca) MDF file by using read function
linkData = mdf(fileName);
rawDat = read(linkData);
however the following comes out
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1333030/image.png)
Any suggestion to solve the problem?
0 Kommentare
Antworten (1)
Aritra
am 23 Mär. 2023
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”:
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!