feval call to a subfunction fails when it is in a subfunction