Error reading value from workspace
Afficher commentaires plus anciens
I have 5 values in workspace
xa=0.5100 0.7000 0.2300 0.5000 2.0000
In simulink i had used from workspace and u fuzzy.
but the output of the from block shows the value is only 4.please tell why do i get like this,why all 5 values are not passed to the simulink
8 commentaires
Azzi Abdelmalek
le 5 Déc 2012
What is "u fuzzy"?
Pat
le 5 Déc 2012
Azzi Abdelmalek
le 5 Déc 2012
Ok what is from workspace and fuzzy?
Pat
le 5 Déc 2012
Vishal Rane
le 5 Déc 2012
Did you try providing the time values as well ?
Pat
le 5 Déc 2012
Muruganandham Subramanian
le 5 Déc 2012
Modifié(e) : Muruganandham Subramanian
le 5 Déc 2012
without time value..how can you read it 'from workspace'?
Pat
le 5 Déc 2012
Réponses (1)
Muruganandham Subramanian
le 5 Déc 2012
Modifié(e) : Muruganandham Subramanian
le 5 Déc 2012
0 votes
Check whether your sample time of 'from workspace' block is inherited? Usually in 'from workspace', you have to mention both data and time as (i.e[data time]) like this. do you have same size of both or otherwise you may use delay block, i guess
9 commentaires
Pat
le 5 Déc 2012
Muruganandham Subramanian
le 5 Déc 2012
change to '-1' and check
Pat
le 5 Déc 2012
Muruganandham Subramanian
le 5 Déc 2012
Are you using 'delay' block, before 'fuzzy logic' block?
Pat
le 5 Déc 2012
Muruganandham Subramanian
le 5 Déc 2012
how it is possible? how you are entering the values?
Pat
le 5 Déc 2012
Muruganandham Subramanian
le 5 Déc 2012
which data is missing?
Pat
le 5 Déc 2012
Catégories
En savoir plus sur Fuzzy Logic in Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!