Effacer les filtres
Effacer les filtres

what is Selector block in Simulink and how to use it? and what are its type

4 vues (au cours des 30 derniers jours)
PRITAM KUMAR NIRALA
PRITAM KUMAR NIRALA le 12 Déc 2023
Modifié(e) : madhan ravi le 12 Déc 2023

Réponses (1)

madhan ravi
madhan ravi le 12 Déc 2023
Modifié(e) : madhan ravi le 12 Déc 2023
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.
Documentation is very brief , I suggest you to read it and go through the examples.

Catégories

En savoir plus sur Simulink Environment Customization dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by