fix matlab