Simulink - LMS Filter Datatype Clash
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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.
0 Kommentare
Antworten (1)
jibrahim
am 17 Okt. 2019
Hi Joshua,
Make sure the step size input is single-precision as well.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Single-Rate Filters finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!