Using RayleighFading object of MATLAB in python

Viewed 12

I'm trying to use comm.RayleighFading object from MATLAB in python. After initiating the object, I called that object taking the argument being my input data. However, it returned an error: TypeError: 'matlab.object' object is not callable The code snippet is like this:

eng = matlab.engine.start_matlab()
rl_channel = eng.comm.RayleighChannel()
y = rl_channel(data_input)

How to use this object in python properly? I appreciate the help!

0 Answers
Related