exports a Div structure or a structure of Divs to the .mat format
div2mat(x_div,varname,filename;
a Div structure or a structure of Divs
the name of the variable in the 'filename' file; a string
the name of the .mat file; a string
div2mat(xdiv, 'data1','data1.mat');