Dot indexing is not supported for variables of this type.

1 visualización (últimos 30 días)
Adarsh Vasa
Adarsh Vasa el 13 de Mzo. de 2020
Comentada: Adarsh Vasa el 14 de Mzo. de 2020
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 comentarios
Stephen23
Stephen23 el 13 de Mzo. de 2020
Editada: Stephen23 el 13 de Mzo. de 2020
Po must be a structure. It is the first output of srgtsGPFit.
Adarsh Vasa
Adarsh Vasa el 14 de Mzo. de 2020
Okay. will try that

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by