How to import the array format values in simulink one by one?

5 vues (au cours des 30 derniers jours)
Arun Badigannavar
Arun Badigannavar le 25 Fév 2013
http://img189.imageshack.us/img189/6594/testusjv.jpg I want to import data of array in to my model,,,in the above link i am importing three values to simulink block,,,but rather i want to import like a(1,1)for first time calculation a(1,2) for second time,,like this i want to import rather importing a,, how to do this?
  3 commentaires
TAB
TAB le 25 Fév 2013
What do you mean by import for first time calculation. Is it mean for 1st sample time ?
Arun Badigannavar
Arun Badigannavar le 25 Fév 2013
No,,,I mean *Import for first time mean that*I want a (1)for one time simulation based on some condition,,,second time if i want to do simulation it should take a value based on some logic which i have

Connectez-vous pour commenter.

Réponse acceptée

TAB
TAB le 25 Fév 2013
You can use Signal Routing/Index Vector block to select the elements of array.

Plus de réponses (0)

Catégories

En savoir plus sur Composite Components dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by