Convert Vector into Scalar Simulink

14 ビュー (過去 30 日間)
Thiago Nogueira
Thiago Nogueira 2020 年 7 月 12 日
コメント済み: madhan ravi 2020 年 7 月 12 日
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

採用された回答

Fangjun Jiang
Fangjun Jiang 2020 年 7 月 12 日
Demux it you will get 1, 2 and 3, then 1*100+2*20+3=123
  2 件のコメント
Thiago Nogueira
Thiago Nogueira 2020 年 7 月 12 日
Thank you very much, this solved my problem!
madhan ravi
madhan ravi 2020 年 7 月 12 日
2*10

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by