How to extract data from array of [1 x 3] dimension using demux or other simulink block? I want to use this data for fuzzy obstacle avoidance controller as shown in figure.
1 回表示 (過去 30 日間)
古いコメントを表示
I am gettting this error on runnning simulation. Demux cannot handle variable size data. What block should be used instead of demux or any other solution of this problem?
"Simulink cannot propagate the variable-size mode from the output port 1 of 'dynamicModelPID/Object Detector' to the input port 1 of 'dynamicModelPID/Demux'. This input port expects a fixed-size mode. Examine the configuration of 'dynamicModelPID/Demux' for one of the following scenarios: 1) the block does not support variable-size signals; 2) the block supports variable-size signals but needs to be configured for them".
I want to use this data from object detector that is in array format dimension [1 x 3]for fuzzy obstacle avoidance controller.

0 件のコメント
回答 (1 件)
Naeimeh N
2021 年 9 月 7 日
This seems like a old query which I just ran into it, which no one had any comments on. However, my answer would shade some light on that. I had the same issue about the variable size inputs in Simulink lately so I'm quite sure that you can use matlab functions(with proper configuration of variable parameters) and then pass it to your desired blocks.
0 件のコメント
参考
カテゴリ
Help Center および 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!