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

 Accepted Answer

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

2 Comments

Thank you very much, this solved my problem!

Sign in to comment.

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Products

Release

R2020a

Community Treasure Hunt

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

Start Hunting!