I am trying to use MATLAB engine from Python as follows
sinewave = eng.dsp.SineWave("Amplitude",1,"Frequency",fc,"SampleRate",fs,"SamplesPerFrame",nspf,"ComplexOutput",True)
sinewave()
to use the DSP toolbox. However, I get the error "'matlab.object' object is not callable
for sinewave()".
Doing the same, directly in MATLAB (without the eng.
) works just fine. What is the correct way for calling sinewave from Python?