How can I combine strings in SIMULINK like in a MATLAB cell array?
    2 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Rafael Cordero
 el 16 de Nov. de 2020
  
    
    
    
    
    Comentada: Rafael Cordero
 el 17 de Nov. de 2020
            Hi folks,
Imagine I have 3 string constant blocks:

How can I combine them in such a way to get something like a cell array in MATLAB so that there are 3 elements corresponding to the three strings?:

(Note: The three strings may be of different lengths)
(Note2: I should have made it clearer that the rightmost block is a display block)
Thank you,
Rafael
0 comentarios
Respuesta aceptada
  Paul
      
      
 el 17 de Nov. de 2020
        However, it appears that you can pack them all into a bus if all you need to do is flow them as a group from one portion of your model to another and then unpack them for processing.  
Más respuestas (0)
Ver también
Categorías
				Más información sobre String en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

