How to convert vector to scalar in simulink ??

조회 수: 75 (최근 30일)
heo
heo 2023년 5월 17일
답변: Varun 2023년 5월 18일
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.

답변 (1개)

Varun
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!

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by