Error reading value from workspace

1 回表示 (過去 30 日間)
Pat
Pat 2012 年 12 月 5 日
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 件のコメント
Muruganandham Subramanian
Muruganandham Subramanian 2012 年 12 月 5 日
編集済み: Muruganandham Subramanian 2012 年 12 月 5 日
without time value..how can you read it 'from workspace'?
Pat
Pat 2012 年 12 月 5 日
ok if i such five values how to read from workspace,i need it to as input to fuzzy ,please assist

サインインしてコメントする。

回答 (1 件)

Muruganandham Subramanian
Muruganandham Subramanian 2012 年 12 月 5 日
編集済み: Muruganandham Subramanian 2012 年 12 月 5 日
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 件のコメント
Muruganandham Subramanian
Muruganandham Subramanian 2012 年 12 月 5 日
which data is missing?
Pat
Pat 2012 年 12 月 5 日
How to determine which data is missing

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFuzzy Logic in Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by