How can I dynamically grow the work vector in my level 2 MATLAB file S-function in Simulink 6.5 (R2006b)?
Show older comments
I want to implement a similar functionality as the Transport Delay block has in my level 2 MATLAB file S-function. So I need a buffer, but as I do not know the sample time for the model I do not know how to size my buffer. The Transport Delay block automatically increases the buffer size if needed, but the DWork vector dimensions are set once and are fixed.
Accepted Answer
More Answers (0)
Categories
Find more on Create MATLAB S-Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!