From: Guo Hong on
Hello all,

by using level 2 m-file s-function, the dimension of Dwork is set in function DoPostPropSetup(block), for instance
block.Dwork(1).Dimensions = 10000;

But I have an adaptive application that the dimension of dwork should be set accordingly. Now what i am doing is set the dimension big enough, but I am not sure if it is really big enough in real applicaion.
Does any body have any clue about that?

Thanks in advance

Guo
From: nataraj m on
hi,
i have a similar case where in i need to change the number of samples according to the feedback. could anyone plz help out.....

"Guo Hong" <hongguo1217(a)googlemail.com> wrote in message <hpk9mk$qj4$1(a)fred.mathworks.com>...
> Hello all,
>
> by using level 2 m-file s-function, the dimension of Dwork is set in function DoPostPropSetup(block), for instance
> block.Dwork(1).Dimensions = 10000;
>
> But I have an adaptive application that the dimension of dwork should be set accordingly. Now what i am doing is set the dimension big enough, but I am not sure if it is really big enough in real applicaion.
> Does any body have any clue about that?
>
> Thanks in advance
>
> Guo