update array in simulink and pass it to a matlab function

Hello, I am working on estimating the radius of curvature of vehicle from camera data. I am getting x and y co-ordinates from camera at 100Hz. I have a function written in matlab that takes atleast 3 points and estimates the radius. On simulink while running a simulation i want to take about 10-15(about 0.1 seconds) data in array and pass it to this function to calculate radius of curvature.After i get the radius I want to flush out this data and do the same for next 0.1 seconds. Can anyone help me with this implementation. I mostly need help with array update part.
Thank you!

Respuestas (0)

La pregunta está cerrada.

Preguntada:

el 23 de Ag. de 2015

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by