Why does the value of "PRBSetType — PRB allocation type" change to (VRB) through code even if I set it as (PRB) in the configuration?
조회 수: 5 (최근 30일)
이전 댓글 표시
Why does the value of "PRBSetType — PRB allocation type" change to (VRB) through code even if I set it as (PRB) in the configuration?
Specifically, "getPXSCHobject" function doesn't read the input value of "PRBSetType — PRB allocation type" and always sets it by default value (VRB).
And as a result, code always go through one case of the two possible cases -PRBsetType = VRB-, so we can't get the results when we want to set PRBsetType as (PRB).
The two possible cases are inserted below:
Case 1: PRBsetType = PRB
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1759389/image.png)
Case 2: PRBsetType = VRB
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1759394/image.png)
댓글 수: 2
R
2024년 9월 11일
I was able to set the 'PRBSetType' to 'PRB' as follows
pdsch = nrPDSCHConfig('PRBSetType','PRB');
strcmpi(pdsch.PRBSetType,'PRB')
Can you share more of your code, specifically how you are setting the value?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!