How to increase buffer size parameter.

34 ビュー (過去 30 日間)
ovais nazir
ovais nazir 2020 年 1 月 1 日
回答済み: Rajanya 2024 年 11 月 11 日
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 日
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 Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by