function mat2file(a,val,varargin)
% Function for writing to file_array objects.
% FORMAT mat2file(a,val,ind1,ind2,ind3,...)
% a      - file_array object
% val    - values to write
% indx   - indices for dimension x (int32)
%
% This function is normally called by file_array/subsasgn
% _______________________________________________________________________
% Copyright (C) 2008 Wellcome Trust Centre for Neuroimaging

% John Ashburner
% $Id$

%-This is merely the help file for the compiled routine
error('mat2file.c not compiled - see Makefile');
