Store Simulink timeseries data in txt file

1 次查看(过去 30 天)
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!

回答(1 个)

ES
ES 2017-3-24
编辑:ES 2017-3-24
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 个评论
Alicia Roder
Alicia Roder 2017-3-24
Thank you. I tried that but it gives me "Error using fwrite. Cannot write value: unsupported class timeseries"

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sources 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by