what is Selector block in Simulink and how to use it? and what are its type
6 次查看(过去 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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!