Load Advanced Recording Format (ARF) in Matlab
Show older comments
Hi,
i want to load a bunch of arf files from animal eeg/abr measurement.
Error using hdf5lib2
The filename specified was either not found on the MATLAB path or it contains unsupported characters.
Error in H5F.open (line 60)
file_id = H5ML.hdf5lib2('H5Fopen', filename, flags, fapl);
Error in arfopenfile (line 21)
fid = H5F.open(filename, 'H5F_ACC_RDONLY', 'H5P_DEFAULT');
Also tried ARF_read_write but that dosen't work either
Do you have other suggestions?
Thanks!
Answers (1)
Anjaneyulu Bairi
on 9 Jan 2024
Hi,
I understand that you are working on loading of ARF files from eeg/abr measurement and getting an error with opening of files. You can try the troubleshooting steps below which might help resolve your query.
- Add all files that you are working on to the MATLAB Path by executing the following command or the workflow given in the documentation link provided at the end of the answer.
addpath foldername/filename(s)
- Ensure those files have necessary permissions to execute and ensure they are in proper format of ARF, execute below command on files.
>>> h5info filename.
- If it fails to read, then the file is corrupted.
Visit below documentation link for more information.
- https://www.mathworks.com/help/matlab/hdf5-files.html
- Add folders to search path - MATLAB addpath - MathWorks India( link for addpath command documentation)
Hope it helps to resolve your query.
Categories
Find more on Simulink Check in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!