From: marco on
hi tehre
i am trying to model a baseband modem. my approach could be to create a simulink model of the transmitter and a digital model of the receiver and then executing a simulink simulation step for each frame(or for ach simbol)

for fr=1:NrOfFrames
<put data into tx_bb model>
sim('tx_bb', 1./Fs);
<get data from tx_b rx_bb model>
<add some channel effect: AWG, pulses etc.>
<put data into rx_b rx_bb model>
sim('rx_bb', 1./Fs);
<get rx_bb data and do BER etc.)
end

i am actually looking for the best suited way for put/get data into matlab. i find some documentation about that but (from workspace) it is sometimes unclear what is the best way (time struct, arrays etc.). the help file also lack of examples. IMO

thanks