Access Read-Only Properties of Class (GeneralizedLinearModel)
    조회 수: 4 (최근 30일)
  
       이전 댓글 표시
    
I want to edit the property of a class. For example:
X=randn(100,1);
Y=X + randn(100,1)  
mdl=fitglm(X,Y)
but apparently the properties are read-only
>> mdl.Coefficients.Estimate(2)=2
Error using classreg.regr.CompactFitObject/subsasgn (line 233)
The Coefficients property for class GeneralizedLinearModel is read-only.
Is this possible?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
