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

5 ビュー (過去 30 日間)
kapil123
kapil123 2022 年 2 月 10 日
回答済み: Amish 2025 年 3 月 25 日
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.

回答 (1 件)

Amish
Amish 2025 年 3 月 25 日
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.

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by