export of source and sink positions in matlab format