Error using comm.RayleighChannel/step
Changing the complexity (from real to complex) on input 1 of System object comm.RayleighChannel is not allowed without first calling
the release() method.
Error in Channel_functions/ApplyChannel (line 62)
y = step(rchan, X(:));
Error in Main_Simulation (line 49)
[ h, y ] = ch_func.ApplyChannel( rchan, xp_cp, K_cp); - Show complete stack trace