Store Simulink timeseries data in txt file

3 visualizaciones (últimos 30 días)
Alicia Roder
Alicia Roder el 24 de Mzo. de 2017
Comentada: Alicia Roder el 24 de Mzo. de 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!

Respuestas (1)

ES
ES el 24 de Mzo. de 2017
Editada: ES el 24 de Mzo. de 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 comentario
Alicia Roder
Alicia Roder el 24 de Mzo. de 2017
Thank you. I tried that but it gives me "Error using fwrite. Cannot write value: unsupported class timeseries"

Iniciar sesión para comentar.

Community Treasure Hunt

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

Start Hunting!

Translated by