How do I make an entity output switch sort entities based on attributes?
조회 수: 1 (최근 30일)
이전 댓글 표시
After generating entities with randomly assigned gender attributes, male or female, I am now trying to separate the two groups into a "male" group and a "female" group using an entity output switch in sim events. How do I get the output switch to recognize "male" and "female" to divide the groups?
댓글 수: 0
답변 (1개)
Vishwas
2017년 12월 8일
Have you had a look at "findgroups".
Use "splitapply" to further apply a function on the split data
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Biomedical Imaging에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!