When I run the basic demo, the output is ok. But when I modified the prop fair Sun (it is the same scheduler I used when I run the demo), I received this error message:”Undefined variable “RB_grid” or class “RB_grid.user”. Can anyone help me find a solution to this?
I can’t see any difference/modification in this part of the code. It seems like the propertie UEs.RB_grid is not passed to the scheduler class, please check
the function schedule_users(obj) under +network_elements/eNodeB_sector.m. The object should contain the propertie RB_grid.
Thanks alot. I discovered that I used RB_UEs wrongly in the the modified part. I am still working on it. Another thing is that I wanted to use X (in pdpChannelFactory) in the proportional fair sun scheduler.
X = (randn(nRX,nTX,tot_number_of_realizations,number_of_taps)+1i*randn(nRX,nTX,tot_number_of_realizations,number_of_taps))/sqrt(2);
So how can I make use of X in the scheduler? (actually I want to modify the scheduler and want to use X).
Normaly, you set the channel model type to one of the pdp based channel models, i.e. Ped A, Ped B, TU etc, and scheduler type you want to use. The scheduler acts on the received user feedback values reported on the +network_elements\eNode_Bsector.m.