I get error at line 233 : rxSlot = lteSCFDMADemodulate(ue,chs,rxWaveform);
It went wrong because
1)The SCFDMADemodulate function of LTE Toolbox 3.0 couldn't read the input struct chs.Though it seems the chs struct doesn't get involved in following steps.
2)I read the code of this function in which i thought the input argument rxWaveform ought to contain a whole subframe ,so that the function could run demodulation in subframes,but in the BLER simulation code a slotgrid was passed to the function, which means the function only got half of a subframe.
If I should upgrade my toolbox or it's the simulation code that led to mistakes?I have got stuck for days.