Data Type Propagation block doesn't work with Boolean data type
18 次查看(过去 30 天)
显示 更早的评论
Data Type Propagation block doesn't work when the reference input is of Boolean data type. In the figure below it is propagating uint8 but the reference is boolean
![data type prop error.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220890/data%20type%20prop%20error.png)
Another similar error
![data type prop error2.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/220891/data%20type%20prop%20error2.png)
But it works fine with the other data types. Unfortunately, I can't see the mistake here.
0 个评论
回答(1 个)
Raghunandan V
2019-6-6
Hi, The error says "The 3rd input for Data Type Propogation block has to be uint8 but you are feeding it Boolean"
Please post the image of mask of Data Type Propogation block
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 String 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!