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 CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by