How to convert a scalar to a vector in Simulink?

조회 수: 4 (최근 30일)
Miguel Montilla-DJesus
Miguel Montilla-DJesus 2013년 3월 20일
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.
Miguel Montilla-DJesus
Miguel Montilla-DJesus 2013년 3월 22일
Thank you

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by