How do I work with timeseries data in C?
Afficher commentaires plus anciens
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)
Catégories
En savoir plus sur Integrate C Code Using C Caller Blocks dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!