Error reading value from workspace

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 comentarios

Azzi Abdelmalek
Azzi Abdelmalek el 5 de Dic. de 2012
What is "u fuzzy"?
Pat
Pat el 5 de Dic. de 2012
sorry Azzi its fuzzy
Azzi Abdelmalek
Azzi Abdelmalek el 5 de Dic. de 2012
Ok what is from workspace and fuzzy?
Pat
Pat el 5 de Dic. de 2012
i have 5 values in workspace,which is input to fuzzy,so i created a fis file which is of 5 inputs,but i get error,my from workspace block shows it passes only 4 values
Vishal Rane
Vishal Rane el 5 de Dic. de 2012
Did you try providing the time values as well ?
Pat
Pat el 5 de Dic. de 2012
Time values,no i dont have time values juts those 5 values as input to fuzzy
Muruganandham Subramanian
Muruganandham Subramanian el 5 de Dic. de 2012
Editada: Muruganandham Subramanian el 5 de Dic. de 2012
without time value..how can you read it 'from workspace'?
Pat
Pat el 5 de Dic. de 2012
ok if i such five values how to read from workspace,i need it to as input to fuzzy ,please assist

Iniciar sesión para comentar.

Respuestas (1)

Muruganandham Subramanian
Muruganandham Subramanian el 5 de Dic. de 2012
Editada: Muruganandham Subramanian el 5 de Dic. de 2012

0 votos

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 comentarios

Pat
Pat el 5 de Dic. de 2012
my sample time is 0
Muruganandham Subramanian
Muruganandham Subramanian el 5 de Dic. de 2012
change to '-1' and check
Pat
Pat el 5 de Dic. de 2012
i am getting same error
Muruganandham Subramanian
Muruganandham Subramanian el 5 de Dic. de 2012
Are you using 'delay' block, before 'fuzzy logic' block?
Pat
Pat el 5 de Dic. de 2012
no i am not use any delay the thing is the the value from workspace shows 4,wheres as my input is 5 values
Muruganandham Subramanian
Muruganandham Subramanian el 5 de Dic. de 2012
how it is possible? how you are entering the values?
Pat
Pat el 5 de Dic. de 2012
Thats why i have posted this question ,my values in command window is
xa=0.5100 0.7000 0.2300 0.5000 2.0000
used from workspace in simulink,but only 4 values i get
Muruganandham Subramanian
Muruganandham Subramanian el 5 de Dic. de 2012
which data is missing?
Pat
Pat el 5 de Dic. de 2012
How to determine which data is missing

Iniciar sesión para comentar.

Categorías

Más información sobre Fuzzy Logic in Simulink en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

Pat
el 5 de Dic. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by