I have a structure 's' created in Model workspace and being used as a block parameter. Now in "setparam" command, how can I programmatically update the value of specific fields inside this structure? The goal is to update the structure “values only” and having the target reflect these modifications without having to rebuild and deploy the model again.
If I use the structure information shown in slrt explorer in "setparam", I am getting the following error:
>> setparam(tg,'blkName','/s(1).one',2) Invalid parameter: "blkName//s(1).one"
Where, '/s(1).one' is the value of the field "Properties -> BindingSrcPath" in slrtexplr for the corresponding structure parameter.
Best Answer