Matlab Fitglm Vs Glmfit, Use addTerms, removeTerms, or step to add or remove terms from the model.