How to convert vector to scalar in simulink ??
79 次查看(过去 30 天)
显示 更早的评论
Hello,
I don't know how to convert vector to scalar in simulink.
For example, There is "ufix1 (16) data type" which has 1bit and 16array in my model.
I want to change this array to uint16 at simulink.
How to change???
Thank you.
0 个评论
回答(1 个)
Varun
2023-5-18
Hello! I'm unsure about the type of data you're working with but perhaps the Data Conversion Conversion block may help! You may refer to the following documentation for more info on the same: https://www.mathworks.com/help/simulink/slref/datatypeconversion.html.
Hope this helps!
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Types 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!