How to increase Buffer size parameter in MATLAB .mdl simulation file?

I am having error like "The specified buffer was too small.During simulation, the buffer size was temporarily increased to 2048. In order to use Real-Time Workshop, you need to update the buffer size parameter"

답변 (2개)

Kaustubha Govind
Kaustubha Govind 2014년 4월 11일

0 개 추천

Errors from Simulink typically point to a block, so it is strange that your error doesn't do so. Do you have a Transport Delay block in your model? If so, that is likely the cause of the error. You can try increasing the 'Initial buffer size' parameter.

댓글 수: 2

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
You can try increasing the 'Initial buffer size' parameter.
this initial buffer size is not editable

댓글을 달려면 로그인하십시오.

Mariamcher Chanie
Mariamcher Chanie 2020년 12월 12일

0 개 추천

I keep getting this error even when In increased the buffer to 2048 in the time delay block
"eased to 2048. In order to generate code, you need to update the
buffer size parameter"
Does anyone have an idea of what to do?

댓글 수: 2

Go to library using right click and unlock library from main tool bar . then right clik on block T go to block parameter and put new buffer size.
What is "block T"? I get lost after that

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 General Applications에 대해 자세히 알아보기

제품

태그

질문:

2014년 2월 7일

댓글:

2024년 5월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by