Why I keep getting data type mistmatch?
9 views (last 30 days)
Show older comments
irdina izzati abdul harun
on 17 Apr 2023
Commented: irdina izzati abdul harun
on 9 May 2023
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1358308/image.png)
I keep getting this error even though I already place the convertion block. Please help me solve this problem
0 Comments
Accepted Answer
Suraj
on 24 Apr 2023
I can see that you’ve added a “Data Type Conversion” block in “Hysteresis Controller1”. However, the error shown in the Diagnostic Viewer seems to occur at some other location.
I suggest that you click on the model paths (blue underlined text) shown in the Diagnostic Viewer. This will take you to the component that is causing the error itself.
Hope this helps.
More Answers (0)
See Also
Categories
Find more on Electrical Sensors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!