Track changes made to model

조회 수: 5 (최근 30일)
Lucas
Lucas 2012년 9월 11일
댓글: zhichuan wang 2018년 7월 12일
Is there a way that you can track changes that have been made to a model? Like if a parameter got changed in the Configuration Dialog box, if a block got moved/changed, a new block was added or a subsystem was converted to a reference model?
  댓글 수: 2
Ryan G
Ryan G 2012년 9월 12일
You could write a script that uses find_system(gcs); and stores all the block names into a mat-file. You can call that script when you load the model to compare the current find_system(gcs); results to that stored in the MAT-file.
zhichuan wang
zhichuan wang 2018년 7월 12일
If the callback can be used to find changes in subsytem will be better.

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

답변 (3개)

Srinivas
Srinivas 2012년 9월 11일
you may want to look at http://www.ensoftcorp.com/simdiff/

K E
K E 2012년 9월 12일
Here are Mathwork's suggestions on managing model versions.

Ryan G
Ryan G 2012년 9월 11일
편집: Ryan G 2012년 9월 20일
You could use the Simulink Report Generator XML file compare tool on the Simulink model files. This would be the 'supported' method of doing this and if you have access to support they would be able to help you further if you run into issues.

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by