I am writing a Level 2 Matlab s-function to impliment a queue, I use a pre-allocated Dwork vector to hold the queue but I need to be able to dynamically change the size of this queue to prevent it overflowing if more data is sent to it. Is this possible, and if not any ideas as to a better solution? Thanks.
MATLAB: Is is possible to change the allocated block.Dwork.Dimensions size
dworks-function
Related Question
- How to dynamically grow the work vector in the level 2 MATLAB file S-function in Simulink 6.5 (R2006b)
- Is there an example of using DWork vectors to store discrete states in Simulink
- SImple question about Simulink S function
- How to use Dwork vectors in the S-Function Builder in Simulink 6.0 (R14)
- Pre-allocating structures
Best Answer