Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
How can keep attributes as a vector while simulation proceed ?
    1 Ansicht (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
Hi,I study manufacturing systems simulation and optimization.
All entities takes attributes like as Pt (process time)and I want to keep previous attribute values in a vector matrice. After this I will send Vector matrice to matlab embeded function block. How can do that ?
Second 1 Pt=2.3   Vector=[2.3]
Second 2 Pt=3.1   Vector=[2.3 3.1] 
Second 3 Pt=2.7   Vector=[2.3 3.1 2.7]
.
.
Second n .......................................
0 Kommentare
Antworten (1)
  Azzi Abdelmalek
      
      
 am 10 Jan. 2014
        
      Bearbeitet: Azzi Abdelmalek
      
      
 am 10 Jan. 2014
  
      Pt=2.3
Vector=Pt
Pt=3.1
Vector=[Vector Pt]
Pt=2.7
Vector=[Vector Pt]
Or
Pt=2.3
Vector(1)=Pt
Pt=3.1
Vector(2)=Pt
Pt=2.7
Vector(3)=Pt
1 Kommentar
Diese Frage ist geschlossen.
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

