In order to run this program first you need to add install pynwb in your anaconda environment For more information please refer to the main documentation page https://nwb-overview.readthedocs.io/en/latest/index.html You can also refer https://pynwb.readthedocs.io/en/stable/
It's recommended if you have a one of the following python versions - 3.8, 3.9, 3.10, or 3.11
conda create -n pynwb python==3.11
Activate your conda envirnoment
conda activate pynwb
pip install -U pynwb
Once the pynwb library is installed, it will install these libraries hdmf, h5py, numpy, pandas, python-dateutil.
pip install notebook
jupyter notebook
After this step please locate this notebook in your local machine and run the program.
There is a short script written in matlab to read nwb files.
git clone https://github.com/NeurodataWithoutBorders/matnwb.git
alternatively, download the zip file from github
https://github.com/NeurodataWithoutBorders/matnwb
addpath('.add your path \matnwb-master');
nwbfile = nwbRead('your path to nwb file \nwb_file.nwb');