matlab reference to non-existent field 'y'