# About Isight Calling UQLab Unable to Recognize the matlab Program

**URL:** <https://uqworld.org/t/about-isight-calling-uqlab-unable-to-recognize-the-matlab-program/1738>\
**Category:** Community Q&A and How To\
**Tags:** pce, reliability\
**Created:** [December 1, 2022, 11:57am UTC](https://uqworld.org/t/about-isight-calling-uqlab-unable-to-recognize-the-matlab-program/1738 "2022-12-01T11:57:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zfzcyt0923](https://uqworld.org/letter_avatar_proxy/v4/letter/z/dec6dc/32.png) [@zfzcyt0923](https://uqworld.org/u/zfzcyt0923)\
**Post date:** [December 1, 2022, 11:57am UTC](https://uqworld.org/t/about-isight-calling-uqlab-unable-to-recognize-the-matlab-program/1738/1 "2022-12-01T11:57:31Z")

</div>

Dear UQlab

Hello!

I am a novice in UQlab. In my research direction, I have built a UQlab deployment for a single design point. However, during the process of using Isight to call UQlab to perform optimization, it shows that the command line program cannot be recognized.  
The command line reported that the function file：  
(1) ModelOpts was not recognized mFile = ‘optimization\_ paramater1126’;  
(2) uq\_copula\_dimension: missing field Parameters given copula  
I would appreciate it if you could reply me.  
Here is my UQlab program code：

clearvars  
uqlab  
ModelOpts.mFile = ‘optimization\_paramater1126’;  
myModel = uq\_createModel(ModelOpts);  
a0 = 0.4712;  
h1 = 0.028;  
h2 = 0.024;  
m = 2;  
z = 11;  
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;  
myInput = 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’;  
myPCE\_OLS = uq\_createModel(MetaOpts);  
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);  
At present, the problem of matlab path has been eliminated.
