How to convert a scalar to a vector in Simulink?

22 次查看(过去 30 天)
I want to convert a scalar, for example 3, to a vector with dimension 3: [0 0 0]
Is posible this?
  4 个评论
Ryan G
Ryan G 2013-3-21
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by