Convert Vector into Scalar Simulink

조회 수: 14 (최근 30일)
Thiago Nogueira
Thiago Nogueira 2020년 7월 12일
댓글: madhan ravi 2020년 7월 12일
Would it be possible, in Simulink, to read a vector that displays per example [1 2 3] and extract these numbers and put them together as an scalar in the following format: 123 ?
Thank you very much

채택된 답변

Fangjun Jiang
Fangjun Jiang 2020년 7월 12일
Demux it you will get 1, 2 and 3, then 1*100+2*20+3=123
  댓글 수: 2
Thiago Nogueira
Thiago Nogueira 2020년 7월 12일
Thank you very much, this solved my problem!
madhan ravi
madhan ravi 2020년 7월 12일
2*10

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

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

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by