MDF2NWB is a proof of concept, experimental tool for converting Multipurpose Data Framework (MDF) formats to Neurodata Without Borders (NWB) formats and vice versa.
% Make sure mdf2nwb is the current directory
grant = mdf.load('Replace with UUID of root Grant object');
nwbFile = exportToNWB(grant, './sparc-epidural/map.yaml');
% Make sure mdf2nwb is the current directory
% Make sure sparc-epidural-alexanderkeith.nwb is in the current directory
% Make sure the directory MDFdatafile exists in the current directory
nwbFile = nwbRead('./sparc-epidural-alexanderkeith.nwb');
mdfObj = exportToMDF(nwbFile, './MDFdatafile')