Fixed flip method for Matlab older than 2013b.

parent fcac767c
Pipeline #2841 passed with stage
in 1 minute and 15 seconds