You could use the upper and lower parameters in the stepwiselm and stepwiseglm functions to specify the set of independent variable terms to be present in the model equation.
Here is a link to a similar question:
Hope this helps!
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!