Just went through this task. It works for me. First suggestion would be to restart MATLAB and see if the behavior continues. If you still are getting errors, are your low and high drag terms connected to the correct ports? Have you set the parameters of the switch?
Perhaps add an image of your model so we can see.