How to convert a scalar to a vector in Simulink?

12 Ansichten (letzte 30 Tage)
Miguel Montilla-DJesus
Miguel Montilla-DJesus am 20 Mär. 2013
I want to convert a scalar, for example 3, to a vector with dimension 3: [0 0 0]
Is posible this?
  4 Kommentare
Ryan G
Ryan G am 21 Mär. 2013
This wouldn't really work with a complicated system for a number of reasons, but if your model is simple you can use a series of enabled subsystems that can be enabled when the proper constant is selected.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by