what is Selector block in Simulink and how to use it? and what are its type
조회 수: 5 (최근 30일)
이전 댓글 표시
답변 (1개)
madhan ravi
2023년 12월 12일
편집: madhan ravi
2023년 12월 12일
It’s purpose is to index a vector.
For example: let’s say you have an array
x = [1, 2, 3]
When the index mode is zero based then
x(0) gives 1
When it is one based then
x(1) gives 1
It is mainly used for indexing vector in loops.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!