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 个评论
Azzi Abdelmalek
2012-12-5
What is "u fuzzy"?
Pat
2012-12-5
Azzi Abdelmalek
2012-12-5
Ok what is from workspace and fuzzy?
Pat
2012-12-5
Vishal Rane
2012-12-5
Did you try providing the time values as well ?
Pat
2012-12-5
Muruganandham Subramanian
2012-12-5
编辑:Muruganandham Subramanian
2012-12-5
without time value..how can you read it 'from workspace'?
Pat
2012-12-5
回答(1 个)
Muruganandham Subramanian
2012-12-5
编辑:Muruganandham Subramanian
2012-12-5
0 个投票
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 个评论
Pat
2012-12-5
Muruganandham Subramanian
2012-12-5
change to '-1' and check
Pat
2012-12-5
Muruganandham Subramanian
2012-12-5
Are you using 'delay' block, before 'fuzzy logic' block?
Pat
2012-12-5
Muruganandham Subramanian
2012-12-5
how it is possible? how you are entering the values?
Pat
2012-12-5
Muruganandham Subramanian
2012-12-5
which data is missing?
Pat
2012-12-5
类别
在 帮助中心 和 File Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!