How to convert a scalar to a vector in Simulink?

9 visualizzazioni (ultimi 30 giorni)
I want to convert a scalar, for example 3, to a vector with dimension 3: [0 0 0]
Is posible this?
  4 Commenti
Ryan G
Ryan G il 21 Mar 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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by