How to increase buffer size parameter.
35 views (last 30 days)
Show older comments
I am using transport delay ,i get error from simulink as "during simulation,the buffer size was temporarily increased to 9216.in order to generate code ,you need to update buffer size parameter .. My initial buffer size parameter is 2048*4.where i can update the new size or increase initial size . Thankyou
0 Comments
Answers (1)
Rajanya
on 11 Nov 2024
I understand that you're addressing the warning message about updating the buffer size parameter for code generation. This warning usually indicates that the number of data points needed to store the delayed signal during simulation exceeded the buffer size specified for the Transport Delay block. To resolve this, you can open the block parameters for the Transport Delay block and increase the 'Initial buffer size' parameter to a larger value. This should address the issue.
You can refer to the following documentation to know more about how buffers work in the transport delay block - https://www.mathworks.com/help/releases/R2020a/simulink/slref/transportdelay.html?searchHighlight=transport%20delay&s_tid=doc_srchtitle#br3niji-1
Hope this helps!
0 Comments
See Also
Categories
Find more on Simulink Coder 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!