Convert Vector into Scalar Simulink

15 visualizzazioni (ultimi 30 giorni)
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
Demux it you will get 1, 2 and 3, then 1*100+2*20+3=123
  2 Commenti
Thiago Nogueira
Thiago Nogueira il 12 Lug 2020
Thank you very much, this solved my problem!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simulink in Help Center 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