Effacer les filtres
Effacer les filtres

How to convert a scalar to a vector in Simulink?

9 vues (au cours des 30 derniers jours)
Miguel Montilla-DJesus
Miguel Montilla-DJesus le 20 Mar 2013
I want to convert a scalar, for example 3, to a vector with dimension 3: [0 0 0]
Is posible this?
  4 commentaires
Ryan G
Ryan G le 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.
Miguel Montilla-DJesus
Miguel Montilla-DJesus le 22 Mar 2013
Thank you

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by