I want to extract data from object detection sensor in Matlab 2018 (Mobile Robotics Simulation Toolbox). This data is the display vector array form of dimension (1x3) range; angle and label. I want to use this data for object avoidance controller using fuzzy logic. When I use demux to split this data into three elements, I get error “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 have tried using different blocks for this purpose but still I get same error. I could not find out proper solution of this problem. Any knows about it

More Zahid Razzaq's questions See All
Similar questions and discussions