From: Andreas Mauderer on 11 May 2010 12:57 Hi, I have a S-Function block that is masked. In the mask, I have defined a mask parameter called 'sigConv'. I am using this parameter in the S-Function parameters field by inserting "['sFuncVar=',sigConv]" What I want to do: I want to achieve the same, that happens when I change the value in the mask and click "ok" after that. But from an m-file. But when I use the set_param() function, I can only change the value in the mask, but it's not forwarded to the S-Function block. The documentation says in the chapter "Programming Masks Programmatically": "However, changing the mask parameter value with set_param does not change the value of the underlying block variable. You cannot use get_param or set_param to access the value of the underlying variable, because it is hidden by the mask." But how can I change this underlying variable? Regards, Andreas
|
Pages: 1 Prev: creating a sequence matrix Next: set serial terminator > 127 |