Export to matlab input