Info

此问题已关闭。 请重新打开它进行编辑或回答。

update array in simulink and pass it to a matlab function

1 次查看(过去 30 天)
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!

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by