Convert Vector into Scalar Simulink

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

 Risposta accettata

Fangjun Jiang
Fangjun Jiang il 12 Lug 2020

1 voto

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

2 Commenti

Thank you very much, this solved my problem!
2*10

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simulink in Centro assistenza e File Exchange

Prodotti

Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by