Error in typing Beta distribution

Dear all
I am new beginner of UQLabs. I have a basic error for declaring the input into UQLabs.
For example, my code is below:
InputOpts.Marginals(2).Name = ‘Alpha0’;
InputOpts.Marginals(2).Type = ‘Beta’;
InputOpts.Marginals(2).Moments = [0.05 0.01 0.025 0.1];

The data for Moments respectively are mean, standard deviation, and support [a,b].
But Uqlabs find it as an error, as below:

For Beta distribution, both parameters have to be positive!

Error in uq_beta_PtoM (line 16)
error(‘For Beta distribution, both parameters have to be positive!’)

Error in uq_MarginalFields (line 79)
marginals(ii).Moments = PtoMfun(marginals(ii).Parameters);

Error in uq_initialize_uq_default_input (line 134)
marginals = uq_MarginalFields(marginals);

Because this is a very basic step, and I have followed the manuals of importing Beta variance, so I am confused to find the solutions. I have thought about that if I need to calculate two parameters r,s instead of using mean and standards. But I would like to clarify this issue by asking the community first.

Thank you for your support.
I am looking forward to receiving your responses.

Dear Chau

Welcome to UQWorld.

Indeed, I can’t find any error in your code snippet. Since you are new to UQLab, I assume you are using the latest version 1.4.0? If this is not the case, please try to update UQLab first. Otherwise, please also provide the rest of your code. Maybe there is a conflict with other parts of your codes.

Best regards