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

 Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 12 de Jul. de 2020

1 voto

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

2 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Productos

Versión

R2020a

Preguntada:

el 12 de Jul. de 2020

Comentada:

el 12 de Jul. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by