MATLAB: How do correct the error in this line? print is nor recognised

estimateprintprintoption

X1fit = estimate(modelX, Xest(:,1),'print',false);

Best Answer

"Print" is not a name-value option for that function. I think you're looking for,
X1fit = estimate(modelX, Xest(:,1),'Display','off');
Related Question