Simulink Log data to same file as Input
1 view (last 30 days)
Show older comments
OliverMaier
on 12 Jul 2019
Commented: OliverMaier
on 19 Jul 2019
Hello everyone,
I use the dataref input streaming as it is described here:
My problem is, that I want the output of the model (or signals in between) to be appended to the same file as the input dataref. If i select the input dataref file in the (Configuration Parameters > Data Import/Export > Log Dataset data to file) , the data is deleted/overwritten.
Does anybody know to come around from the issue?
Thank you!
Oli
0 Comments
Accepted Answer
Hari Krishna Ravuri
on 18 Jul 2019
I understand that, you are trying to Log the Output data to the same file, which was given as Input File, and getting the file overridden. As of now MATLAB is not having the feature of appending the logs to an existing file. As a solution to this, I suggest you log the output data in a separate file and append it to the input file with a small script.
More Answers (0)
See Also
Categories
Find more on Save Run-Time Data from Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!