How to compare a Simulink model with empty model?
조회 수: 1 (최근 30일)
이전 댓글 표시
I am trying to compare model versions and extract what is added/deleted/modified by querying the difference tree.
Edits = slxmlcomp.compare(ModelA, ModelB).
Is there a neat way to compare an empty model with a model? For instance, I want to compare a Simulink model file that doesnot exist before and a file newly added.
댓글 수: 0
답변 (1개)
Bhavana Ravirala
2022년 11월 15일
For comparing Simulink models, you can also use “visdiff” command which displays the differences between the two specified folders or files.
visdiff(‘model1.slx’,‘model2.slx’);
For more information regarding “visdiff “ command do refer the below documentation:
Hope this helps!!
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!