Simulink - LMS Filter Datatype Clash

4 Ansichten (letzte 30 Tage)
Joshua Vandermeer
Joshua Vandermeer am 3 Okt. 2019
Beantwortet: jibrahim am 17 Okt. 2019
Hello,
I'm trying to duplicate my own version of the dspanc example in simulink with my own audio clips.
I'm getting an error when I try and run the model saying
"Data type mismatch. Input port 1 of 'lms_noise_cancelling/LMS Filter1' expects a signal of data type 'double'. However, it is driven by a signal of data type 'single'."
As far as I know, the LMS filter can accept single inputs. The inputs driving it are single, so I don't see what the problem is. Does anyone out there have some insight into what my problem might be?
Thank you in advance.

Antworten (1)

jibrahim
jibrahim am 17 Okt. 2019
Hi Joshua,
Make sure the step size input is single-precision as well.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by