Store Simulink timeseries data in txt file

4 vues (au cours des 30 derniers jours)
Alicia Roder
Alicia Roder le 24 Mar 2017
Commenté : Alicia Roder le 24 Mar 2017
Is it possible to store Simulink timeseries data in a .txt file? I have imported the Simulink data into workspace but I only manage to save the data as .mat file using
>> save(filename, 'data')
Thank you!

Réponses (1)

ES
ES le 24 Mar 2017
Modifié(e) : ES le 24 Mar 2017
timeseries is a special data class. It is best written in a mat file. If you just need the Data, you can Try fwrite..
doc fwrite
  1 commentaire
Alicia Roder
Alicia Roder le 24 Mar 2017
Thank you. I tried that but it gives me "Error using fwrite. Cannot write value: unsupported class timeseries"

Connectez-vous pour commenter.

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by