Fix for R2014a