Where is the "variable block" located in the libraries please?

답변 (1개)

FraFal
FraFal 2019년 11월 16일

0 개 추천

Hi,
if you want to use variables as input/parameters not constants, you can define the parameter in MATLAB workspace and use that variable instead of the constant values as parameter.
The steps are:
-Define the variable for parameter in MATLAB workspace
-Define a constant block and double clicking the block to open parameter dialogue box
- Use the variable name defined in the MATLAB workspace
-Make sure to inizialize or assig this variable before it's been used

카테고리

도움말 센터File Exchange에서 Modeling에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2019년 11월 16일

답변:

2019년 11월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by