How to assign the constant value from the value of resistor in Simulink.
13 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
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.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Model, Block, and Port Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!