Christopher,
I have never used the ToMatlab package you described but I wrote my own and do the same task as you are doing. You need to right-click and do "Copy as-> Plain Text" (or Edit menu Copy as plain text). Matlab does not like the default copy format and inserts special characters (which messes up your syntax in MATLAB). I do this once in a while (and periodically forget to do the right type of copy and get the same types of errors you are seeing!)
Regards,
Neil