I need a way to get the total number of assigned RBs of each user for each TTI out of the scheduler file to save and use later. When i try to create an array with a specific size, since the simulator runs the code for every TTI over again, the array that i wanted to create and save is getting created every time. Is there a way for me to create this array outside of my scheduler file but still in simulator? Or any ideas to save the columns or the rows that i wanted to keep untouched, so i can add some other data later on?
The easiest way to save the assigned RBs is: at the LTE_sim_main.m after the scheduling calculation per eNodeB (lines 440-450) you can create e new parameter and save it as eNodeB property, e.g. saved_RB_per_eNodeB and save the assigned RB grid to this parameter like this: