How to compare a Simulink model with empty model?
古いコメントを表示
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.
回答 (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!!
1 件のコメント
Sohil Shrestha
2022 年 11 月 17 日
カテゴリ
ヘルプ センター および File Exchange で Model Comparison についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!