Convert Vector into Scalar Simulink

10 visualizaciones (últimos 30 días)
Thiago Nogueira
Thiago Nogueira el 12 de Jul. de 2020
Comentada: madhan ravi el 12 de Jul. de 2020
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
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 Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by