|
我这两天刚学用Matlab进行通信仿真,下面是我建立的仿真模型及代码,还有运行时的出错分析,请问我错在哪里?可以帮帮我吗?国庆收假要交作业了.我摸索了好久都解成功不了.
这是我建立的仿真模型,在附件.
这是为仿真模型写的M文件
下面是出错分析:
Warning: The model 'BPSK_Ray_ErrorRate' does not have continuous states, hence using the solver 'FixedStepDiscrete' instead of solver 'ode3'. You can disable this diagnostic by explicitly specifying a discrete solver in the solver tab of the Configuration Parameters dialog, or setting 'Automatic solver parameter selection' diagnostic to 'none' in the Diagnostics tab of the Configuration Parameters dialog.
> In BPSK_Ray_ErrorRatemain at 23
??? Error using ==> sim
Cannot propagate non-frame data from output port 1 of 'BPSK_Ray_ErrorRate/Multipath Rayleigh Fading Channel/In' to input port 1 of 'BPSK_Ray_ErrorRate/Multipath Rayleigh Fading Channel/Channel Filter' because this input port expects frame data; consider inserting a Buffer.
Error in ==> BPSK_Ray_ErrorRatemain at 23
sim('BPSK_Ray_ErrorRate'); |
|