Skip to content
MATLAB / Octave tools for BIDS datasets
MATLAB
Branch: master
Clone or download
Remi-Gau Merge pull request #38 from apjanke/typos-2019-12-31
Doc: Typo fixes in comments and helptext
Latest commit 71257b5 Dec 31, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
+bids
binder Filling in the Binder tutorial Jul 30, 2019
examples
tests [test] create a test for tsvread Dec 23, 2019
.gitattributes Add basic unit test framework with Travis CI and Octave Jul 30, 2019
.gitignore gitignore: ignore local copy of bids-examples Dec 21, 2019
.travis.yml Add basic unit test framework with Travis CI and Octave Jul 30, 2019
LICENSE
README.md correct capitalization Dec 24, 2019

README.md

BIDS for MATLAB / Octave

Build Status Binder

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/.

See also PyBIDS for Python and the BIDS Starter Kit.

Installation

Download this repository and add it to your MATLAB/Octave path.

unzip('https://github.com/bids-standard/bids-matlab/archive/master.zip');
addpath('bids-matlab-master');

If your version of MATLAB/Octave does not support JSON natively, please also install SPM12 or JSONio.

Usage

BIDS = bids.layout('/home/data/ds000117');
bids.query(BIDS, 'subjects')

A tutorial is available as a Jupyter Notebook and can be run interactively via Binder.

Requirements

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:

Implementation

Starting point was spm_BIDS.m from SPM12 (documentation) reformatted in a +bids package with dependencies to other SPM functions removed.

Other tools (MATLAB only)

You can’t perform that action at this time.