BIDS for MATLAB / Octave
This repository aims at centralising MATLAB/Octave tools to interact with datasets conforming to the BIDS (Brain Imaging Data Structure) format.
For more information about BIDS, visit https://bids.neuroimaging.io/.
Download this repository and add it to your MATLAB/Octave path.
BIDS = bids.layout('/home/data/ds000117'); bids.query(BIDS, 'subjects')
BIDS-MATLAB works with MATLAB R2014a or newer, or Octave 4.2.2 or newer. (It may also work with older versions, but those are not actively supported.)
If you are using MATLAB R2016b or newer, nothing else needs to be installed.
If you are using MATLAB R2016a or older, or using Octave, you need to install a supported JSON library for your MATLAB or Octave. This can be any of: