In Simevents how does an entity output switch set to attributes for switching chose an outlet port for each attribute?
    9 ビュー (過去 30 日間)
  
       古いコメントを表示
    
    Andrew Rutter
 2017 年 5 月 16 日
  
    
    
    
    
    回答済み: Akram Najjar
 2018 年 10 月 22 日
            I have an entity output switch using the attribute entity.phase the phase can have a value 1,2 or 3. I have set the output switch to have 3 outlet ports, but not defined anywhere I can see how the switch chooses an outlet for the attribute? How is the switch using the attribute?
0 件のコメント
採用された回答
  Teresa Hubscher-Younger
    
 2017 年 5 月 16 日
        Hi Andrew,
You just set the switch to use the attribute, which is the phase attribute. The fact that you set the attribute to have the value 1, 2 or 3 is perfect. It basically assigns a port to the integer value of the attribute, so the first port goes to 1, the second to 2, and the third to 3.
-Teresa Hubscher-Younger
その他の回答 (1 件)
参考
カテゴリ
				Help Center および File Exchange で Discrete-Event Simulation についてさらに検索
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


