필터 지우기
필터 지우기

How to assign the constant value from the value of resistor in Simulink.

조회 수: 13 (최근 30일)
Singaravelan
Singaravelan 2023년 2월 18일
답변: Yuvraj Singh 2023년 2월 20일
I need to assign the constant value from the value of resistor in Simulink.
That is, Constant value == Resistor value.
If i change the resistance value, then the constant value need to be updated automatically
Thanks

답변 (1개)

Yuvraj Singh
Yuvraj Singh 2023년 2월 20일
Hi Singaravelan,
To assign a variable value to a resistor block you can either assign a variable which is already present in the workspace or use Model Callbacks.
Refer to the following documentation to initialize a variable using Model Callbacks.

카테고리

Help CenterFile Exchange에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by