How do I work with timeseries data in C?

5 views (last 30 days)
Elena P
Elena P on 24 Jun 2020
Hello,
I have a sine signal in Simulink (it's a timeseries variable) and I want to determinate the min and max values using a C caller block. My problem it's how to take just the value ( the date) of the timeseries, to work with them?
In Matlab script it's working like a struct like: value = sine.data, but in C I have error.
Here is the implementation in C:
And the error:
Any ideea and or recommendation is appreciated.
Thank you.

Answers (0)

Community Treasure Hunt

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

Start Hunting!