Info
此问题已关闭。 请重新打开它进行编辑或回答。
Check if variable data types in stateflow transitions is suitable or not
3 次查看(过去 30 天)
显示 更早的评论
Hi all,
As title, I want to check if variable data types in stateflow transitions is suitable or not by m script, but I can get only Label_String. So I can not separate to left side, right side of equation. Othercase, explicitly type cast and function call are one more problem.
Example: u1: int16, u2: uint8, func() return uint8, y: uint8
![stateflow.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233021/image.png)
If condtion = 'u1 < u2', warning occur.
Anyone knows????
Thank you so much.
0 个评论
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!