Forum Replies Created

    #19495
    Profile Photo
    Shivi Singh
    Participant

    I made a Matlab code for QAM modulation to be used in OFDM. I am getting a error :
    Reference to non – existent field ‘Sequence’
    I wrote the program according to the samples given , so please explain how to remove the error and what does it mean.
    Part of matlab code :

    if strcmp(InputPort1.TypeSignal, ‘Binary’)
    cs = length(InputPort1.Sequence);
    end
    for m = 1 : cs
    e1(m) = InputPort1.Sequence (m)
    end

    In optisystem I have put PRBS generator in Inputport1.