- you might be asking for the model to run indefinitely (until something happens) and then for the entire output to be processed as a final stage
- you might be asking for the model to run indefinitely, but to process each fixed-length group of values
- you might be asking for the model to run a fixed time and then to process the entire output so far as a final stage
- you might be asking for the model to run a fixed time and then to process the entire output, and then to continue doing other things in the model without generating any more values
translation of Simulink generated integers into a 1-D vector
    1 Ansicht (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    George Gorski-Popiel
 am 18 Nov. 2024
  
    
    
    
    
    Beantwortet: Walter Roberson
      
      
 am 18 Nov. 2024
            A simulink model generates a sequence of integers. Having done so, I need to be able to convert this sequence into a 1-D vector to permit subsequent vector operations, like computing its max, mean, etc. How is that done?
1 Kommentar
  Walter Roberson
      
      
 am 18 Nov. 2024
				Your situation is not clear:
Akzeptierte Antwort
  Walter Roberson
      
      
 am 18 Nov. 2024
        If you have a fixed number of values to process at a time, use the DSP Toolbox buffer blocks, https://www.mathworks.com/help/dsp/ug/buffering-and-frame-based-processing.html 
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Simulink Coder finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

