|
|
In Level 2 m-file s-function, can the dimension of vector Dwork be set dynamically?
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
|
|
0
|
|
|
|
Reply
|
Guo
|
4/8/2010 10:04:04 AM |
|
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@googlemail.com> wrote in message <hpk9mk$qj4$1@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
|
|
0
|
|
|
|
Reply
|
nataraj
|
4/10/2010 1:15:05 AM
|
|
|
1 Replies
469 Views
(page loaded in 0.012 seconds)
|
|
|
|
|
|
|
|
|