Problem of saving the number of assigned_RBs

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7454
    Önem Yıldız
    Participant

    Hi,

    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?

    Thank you for your reply in advance.
    Önem

    #7515

    Dear Önem,

    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:

    eNodeBs(s_).saved_RB_per_eNodeB(:,networkClock.current_TTI) = eNodeBs(s_).scheduler.RB_grid.user_allocation;

    which will save the RBs assigned to each user for each TTI.

    Best regards,
    Fjolla

    #7524
    Önem Yıldız
    Participant

    Dear Fjolla,

    Thanks for your answer, it was very helpful.

    Best regards
    Önem

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.