How to increase buffer size parameter.

31 次查看(过去 30 天)
ovais nazir
ovais nazir 2020-1-1
回答: Rajanya 2024-11-11,6:59
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

回答(1 个)

Rajanya
Rajanya 2024-11-11,6:59
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!

类别

Help CenterFile Exchange 中查找有关 Schedule Model Components 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by