Dot indexing is not supported for variables of this type.

3 次查看(过去 30 天)
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by