Effacer les filtres
Effacer les filtres

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

13 vues (au cours des 30 derniers jours)
Singaravelan
Singaravelan le 18 Fév 2023
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

Réponses (1)

Yuvraj Singh
Yuvraj Singh le 20 Fév 2023
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.

Catégories

En savoir plus sur Model, Block, and Port Callbacks dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by