How do I work with timeseries data in C?

5 vues (au cours des 30 derniers jours)
Elena P
Elena P le 24 Juin 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.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by