Simulink Multiport switches with value ranges as inputs?
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Cory Dinkle
el 19 de Nov. de 2021
Comentada: Pranjal Kaura
el 24 de Nov. de 2021
Hello, I have three signals that each correspond to a certain value range. For example:
Signal 1: input value <350
Signal 2: 350<= input value < 500
Signal 3: 500 <= input value
I would like to implement this with a multiport switch block, is this possible? I am currently using two relational operator blocks and two switches, and I feel that there should be a better way to do this. Any help would be appreciated!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/806839/image.png)
0 comentarios
Respuesta aceptada
Pranjal Kaura
el 22 de Nov. de 2021
Hey Cory,
Hope this helps!
2 comentarios
Pranjal Kaura
el 24 de Nov. de 2021
Thank you for bringing this up Cory. I have brought this issue to the notice of our developers. They will investigate the matter further.
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!