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일

1 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

R2020a

질문:

2020년 7월 12일

댓글:

2020년 7월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by