Clean `fileOpenForWrite`
Clean `fileOpenForWrite`

use `switch case` and don't use cell array for passing options

matlab2tikz/matlab2tikz,matlab2tikz/matlab2tikz,egeerardyn/matlab2tikz,PeterPablo/matlab2tikz,egeerardyn/matlab2tikz