Why do I receive an error about Boolean data types when simulating a Fuzzy Logic controller in Simulink 5.0 (R13)?
Afficher commentaires plus anciens
I have a Simulink model which uses a Fuzzy Logic controller. When I run the model, I receive the following error message:
Data type mismatch. Input port 2 of block 'fuzzy_controller_TMW/Fuzzy Logic Controller/FIS Wizard/Error/NB/ZMF/Product' expects a signal of data type 'double'. However, it is driven by a signal of data type 'boolean'
A similar error is produced when I try to build my model using Real-Time Workshop:
Error executing build command: Error using ==> make_rtw
Error using ==> rtwgen
--> Data type mismatch. Input port 2 of block 'fuzzy_pdi_controller/Fuzzy Logic Controller/FIS Wizard/Error/NB/ZMF/Product' expects a signal of data type 'double'. However, it is driven by a signal of data type 'boolean'.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Fuzzy Logic in Simulink dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!