To my knowledge about matlab, there is not a "simple" way to make "rlocus" work for any parameters of your controllers. The possible way to find the root locus with respect to other parameters in controllers is to write a small matlab program with "zero" and "pole" commands.