Error when Isight calls UQlab

Dear Uqlab :
Distinguished professors, students have many questions when using UQLab. If you can answer them in time, students will be grateful.
When I call uqlab with isight, the call window displays cross validation errors during program execution, but the error message displays that Copula cannot be recognized, resulting in no output.
Error:Action “Commands” execution failed: uq_copula_dimension (line 14) uq_copula_dimension: missing field Parameters given copula
INPUT: a0 h1 h2 m z
output: g1-g8 g11 g88
code:

uqlab;
ModelOpts.mHandle = @optimization_paramater1126;

myModel = uq_createModel(ModelOpts);
InputOpts.Marginals(1).Type = 'Gaussian';
InputOpts.Marginals(1).Moments = [a0,a0/100];
InputOpts.Marginals(2).Type = 'Gaussian';
InputOpts.Marginals(2).Moments = [h1,h1/10];
InputOpts.Marginals(3).Type = 'Gaussian';
InputOpts.Marginals(3).Moments = [h2,h2/10];
InputOpts.Marginals(4).Type = 'Gaussian';
InputOpts.Marginals(4).Moments = [20,6.6667];
InputOpts.Marginals(5).Type = 'Gaussian';
InputOpts.Marginals(5).Moments = [55,31.667];
InputOpts.Marginals(6).Type = 'Constant';
InputOpts.Marginals(6).Parameters = m;
InputOpts.Marginals(7).Type = 'Constant';
InputOpts.Marginals(7).Parameters = z;
myInput1 = uq_createInput(InputOpts);
InputOpts.Copula.Type = 'Independent';
Copula.Parameters = eye(5);
Copula.Dimension = 5;
myInput2 = uq_createInput(InputOpts);
MetaOpts.Type = 'Metamodel';
MetaOpts.MetaType = 'PCE';
MetaOpts.FullModel = myModel;
MetaOpts.Method = 'OLS';
MetaOpts.Degree = 5;
MetaOpts.ExpDesign.NSamples = 700;
MetaOpts.ExpDesign.Sampling = 'LHS';
g1 = myPCE_OLS.PCE(1).Moments.Mean;
g2 = myPCE_OLS.PCE(2).Moments.Mean;
g3 = myPCE_OLS.PCE(3).Moments.Mean;
g4 = myPCE_OLS.PCE(4).Moments.Mean;
g5 = myPCE_OLS.PCE(5).Moments.Mean;
g6 = myPCE_OLS.PCE(6).Moments.Mean;
g7 = myPCE_OLS.PCE(7).Moments.Mean;
g8 = myPCE_OLS.PCE(8).Moments.Mean;
g88 = (myPCE_OLS.PCE(8).Moments.Var)^(1/2);
g = myPCE_OLS.PCE(9).Moments.Mean;
u1 = myPCE_OLS.PCE(1).Moments.Mean;
a = (myPCE_OLS.PCE(1).Moments.Var)^(1/2);
g11 = 1-normcdf(0,u1,a);

demo.zip (21.4 KB)

Hello, I want to know if your problem has been solved, I have the same problem, hope to get your help!

Hi @zfzcyt0923

I cannot reproduce your error with the given code. Have you tried to install the latest version of UQLab?

Best regards
Styfen