Dot indexing is not supported for variables of this type.

3 Ansichten (letzte 30 Tage)
Adarsh Vasa
Adarsh Vasa am 13 Mär. 2020
Kommentiert: Adarsh Vasa am 14 Mär. 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 Kommentare
Stephen23
Stephen23 am 13 Mär. 2020
Bearbeitet: Stephen23 am 13 Mär. 2020
Po must be a structure. It is the first output of srgtsGPFit.
Adarsh Vasa
Adarsh Vasa am 14 Mär. 2020
Okay. will try that

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by