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

조회 수: 4 (최근 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 CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by