change input-check order
improve quotation marks situation
make strjoin optional for older matlab/octave versions (not tested very well)