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

 Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 12 Jul. 2020

1 Stimme

Demux it you will get 1, 2 and 3, then 1*100+2*20+3=123

2 Kommentare

Thiago Nogueira
Thiago Nogueira am 12 Jul. 2020
Thank you very much, this solved my problem!
madhan ravi
madhan ravi am 12 Jul. 2020
2*10

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by