Load Advanced Recording Format (ARF) in Matlab

5 次查看(过去 30 天)
Hi,
i want to load a bunch of arf files from animal eeg/abr measurement.
I already tried https://github.com/melizalab/arf and but only get error messages:
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!

回答(1 个)

Anjaneyulu Bairi
Anjaneyulu Bairi 2024-1-9
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.
Hope it helps to resolve your query.

类别

Help CenterFile Exchange 中查找有关 Entering Commands 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by