Simulink Log data to same file as Input

조회 수: 1 (최근 30일)
OliverMaier
OliverMaier 2019년 7월 12일
댓글: OliverMaier 2019년 7월 19일
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

채택된 답변

Hari Krishna Ravuri
Hari Krishna Ravuri 2019년 7월 18일
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.
  댓글 수: 1
OliverMaier
OliverMaier 2019년 7월 19일
Thank you for your answer.
Actually that is what iam currently doing. Unfortunately that is a additional writing operation, which takes some time.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Save Run-Time Data from Simulation에 대해 자세히 알아보기

제품


릴리스

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by