Dot indexing is not supported for variables of this type.

4 vues (au cours des 30 derniers jours)
Adarsh Vasa
Adarsh Vasa le 13 Mar 2020
Commenté : Adarsh Vasa le 14 Mar 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 commentaires
Stephen23
Stephen23 le 13 Mar 2020
Modifié(e) : Stephen23 le 13 Mar 2020
Po must be a structure. It is the first output of srgtsGPFit.
Adarsh Vasa
Adarsh Vasa le 14 Mar 2020
Okay. will try that

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Matrix Indexing dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by