Fix matlab