bug fix: fputs not a matlab function