Can I set the value of variable in From block using in.setBlockParameter function???

5 vues (au cours des 30 derniers jours)
kapil123
kapil123 le 10 Fév 2022
Réponse apportée : Amish le 25 Mar 2025
Can I set the value of variable in from block (goto/from) using in.setBlockParameter function ??? I am triying to set initial value for DDPG training.

Réponses (1)

Amish
Amish le 25 Mar 2025
Hi Kapil,
I see that you are trying to set the value of variable in From block.
No, you cannot directly set the value of a variable in a From block (part of the Goto/From mechanism) using the setBlockParameter function because the From block does not store parameters; it only retrieves values from a corresponding Goto block.
For more information on the same, please refer to the documentation links below:
Hope this helps.

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by