Can you pass a bus containing a string into a vector concatenate block?
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I need to create a vector of the same bus so that the signal is of the bus type but dimensions of 8. One of the elements of the bus is a string. When I do this, I get the error that a bus with type string cannot be used with the vector concatenate block. Is there a different block or workaround so i can create a signal, typed by a bus, with a dimension greater than 1?
0 Commenti
Risposte (1)
Shanmukha Voggu
il 31 Ago 2021
Hi Mark,
To convert the bus containing a string and numerals as elements
1)give bus signal as input to bus selector block
2)double click on the bus and update it to divide the input signal into the numerals and string
3)use the vector concatenate for the numerals alone
1 Commento
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!