in the function lteScheduler.m, you can find the property RB_grid. There, the user allocation and power allocation vector is stored. If you want to change the assigned power, you need to adjust the values that are being written in this vector.
I found RB_Grid in the property of lteScheduler.m and I also going into RB_Grid
It appear a downlinkChannelModel.m and I tried to find the power allocation vector but I still didn’t get it
can you guide me whereit is?
after the scheduling is done (LTE_sim_main.m: eNodeBs(s_).schedule_users;), please check the property eNodeBs(s_).RB_grid.power_allocation. You will that, e.g., when using a round robin scheduler, the power allocation is done homogeneously over all RBs (and layers) (see lteScheduler.m, schedule_users_common). If you want to do anything else than homogeneous power allocation, you will have to adapt it there.