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"

Respuestas (2)

Kaustubha Govind
Kaustubha Govind el 11 de Abr. de 2014
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 comentarios

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

Iniciar sesión para comentar.

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 comentarios

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

Iniciar sesión para comentar.

Categorías

Más información sobre General Applications en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 7 de Feb. de 2014

Comentada:

el 10 de Mayo de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by