# How to show the verbosity information of creating a PCE model

**URL:** <https://uqworld.org/t/how-to-show-the-verbosity-information-of-creating-a-pce-model/1930>\
**Category:** Community Q&A and How To\
**Tags:** pce\
**Created:** [June 29, 2023, 10:36am UTC](https://uqworld.org/t/how-to-show-the-verbosity-information-of-creating-a-pce-model/1930 "2023-06-29T10:36:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zhangshengwang](https://uqworld.org/letter_avatar_proxy/v4/letter/z/5f8ce5/32.png) [@zhangshengwang](https://uqworld.org/u/zhangshengwang)\
**Post date:** [June 29, 2023, 10:36am UTC](https://uqworld.org/t/how-to-show-the-verbosity-information-of-creating-a-pce-model/1930/1 "2023-06-29T10:36:05Z")

</div>

Hi everyone,  
I want to obtain verbosity information of creating a PCE model. I found a switch in uq\_PCE\_calculate\_coefficients.m, the code is in lines 17 & 18:  
% Verbosity level  
DisplayLevel = current\_model.Internal.Display;

And I found if DisplayLevel \>1, the verbosity information can be shown in creating myPCE.

But the default value is 1.

I would like to know how to change the value, because once the model is created, myPCE.Internal.Display is 1 and the information is not print, such as the example in  
uq\_Example\_PCE\_03\_SimplySupportedBeam.m

 ![image](https://uqworld.org/uploads/default/original/2X/f/f0316a964e83df7078eecad498b7ce327c4b1317.png)

If I didn’t make it clear, please contact me.

Thanks!

---

<div class="post-metadata">

**Author:** ![styfen.schaer](https://uqworld.org/user_avatar/uqworld.org/styfen.schaer/32/849_2.png) [@styfen.schaer](https://uqworld.org/u/styfen.schaer)\
**Post date:** [June 29, 2023, 11:46am UTC](https://uqworld.org/t/how-to-show-the-verbosity-information-of-creating-a-pce-model/1930/2 "2023-06-29T11:46:06Z")

</div>

Dear @zhangshengwang

Is the `.Display` field as explained in the manual Section 3.1, Table 3 what you are looking for?

[https://www.uqlab.com/pce-user-manual](https://www.uqlab.com/pce-user-manual)

Best regards  
Styfen

---

<div class="post-metadata">

**Author:** ![zhangshengwang](https://uqworld.org/letter_avatar_proxy/v4/letter/z/5f8ce5/32.png) [@zhangshengwang](https://uqworld.org/u/zhangshengwang)\
**Post date:** [June 29, 2023, 1:34pm UTC](https://uqworld.org/t/how-to-show-the-verbosity-information-of-creating-a-pce-model/1930/3 "2023-06-29T13:34:11Z")

</div>

Hi Styfen,

Yes, this Section is very useful. Thank you very much!

Best regards,  
Shengwang Zhang
