got rid of matlab write warning