Simulink - LMS Filter Datatype Clash
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
jibrahim
le 17 Oct 2019
Hi Joshua,
Make sure the step size input is single-precision as well.
0 commentaires
Voir également
Catégories
En savoir plus sur Single-Rate Filters dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!