Why do I receive an error about Boolean data types when simulating a Fuzzy Logic controller in Simulink 5.0 (R13)?
Mostrar comentarios más antiguos
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'.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Fuzzy Logic in Simulink en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!