Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How to input six signals to a case statement without getting an error.
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    THISATH ATTAMPOLA ARACHCHIGE DON
 el 3 de Feb. de 2020
  
    
    
    
    
    Cerrada: MATLAB Answer Bot
    
 el 20 de Ag. de 2021
            I want to input six  signals to a case statement(The six signals are created using a if statement).The figure below shows the six input signals.I tried using mux, Bus creator and Vector Concatenate blocks but all of them gave dimentional errors. Is it possible to merge the six signals to one signal and how? Please let me know the best possible approach.


0 comentarios
Respuestas (1)
  Jonas
      
 el 4 de Feb. de 2020
        I don't know exactly what you want to achieve, but I am feeling that the 'cases' block is not the best choice. You might want to look into the 'Multiport Switch' block or - if you have stateflow - the Truthtable.
0 comentarios
La pregunta está cerrada.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!