필터 지우기
필터 지우기

Dot indexing is not supported for variables of this type.

조회 수: 1 (최근 30일)
Adarsh Vasa
Adarsh Vasa 2020년 3월 13일
댓글: Adarsh Vasa 2020년 3월 14일
Hi,
I am trying to use the SURROGATES Toolbox 3.0 (BETA). developed by Dr. Felipe Viana who has last tested it with MATLAB 7.0. The code is showing the following error when I try to execute the surrogate functions:
Dot indexing is not supported for variables of this type.
Error in srgtsGPEvaluate (line 49)
yhat = gpml_gpr_evaluate(x, srgtSRGT.GP_CovarianceFunction, srgtSRGT.GP_LogTheta, srgtSRGT.P, srgtSRGT.T);
Error in Samplespacefull (line 11)
Yhat = srgtsGPEvaluate(predictor, Po);
I am using version R2019b. Is there a way in which I can continue using this toolbox with minimum modifications to the code?
Thank you in advance.
  댓글 수: 4
Stephen23
Stephen23 2020년 3월 13일
편집: Stephen23 2020년 3월 13일
Po must be a structure. It is the first output of srgtsGPFit.
Adarsh Vasa
Adarsh Vasa 2020년 3월 14일
Okay. will try that

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by