MinMax does not accept 'boolean' signals
Mostrar comentarios más antiguos
As the title say, I get this error. Can this be solved somehow or do I need to re-do the model in some other way? This error occurs when trying to do code-generation using the corresponding Simulink version that comes with Matlab 2011b 32-bit.
2 comentarios
Birdman
el 13 de Dic. de 2017
What do you want to do in that part of your model?
Stephen23
el 13 de Dic. de 2017
This is a model I inherited. Essentially that part does: min(BooleanSignal_k, BooleanSignal_(k-1)), that is it outputs the minimum of a Boolean Signal at current time step versus the previous time step. I have re-modeled it, but was curious why the MinMax block doesn't take a boolean even though the support page says that it indeed does take a boolean. Perhaps a syndrom of something else being wrong in the model?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Signal Operations 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!