Simulink File Comparison Custom Filters
6 ビュー (過去 30 日間)
Riccardo Spica 2022 年 4 月 11 日
コメント済み: Riccardo Spica 2022 年 4 月 20 日
I am trying to set up a custom comparison filter in order to ignore any changes to blocks of type 'simulink/Model-Wide Utilities/Model info'.
I have managed to do so by filtering out any block with "Name" equal to "Movel Info" but this is obviously not ideal.
I have tryed to filter based on "MaskType" being equal to "CMBlock" but id does not work and I haven't found any way to debug these filters.
Any suggestion would be appreciated.
回答 (1 件)
stozaki 2022 年 4 月 15 日
You can get the diff of the model by using the visdiff function.
At that time, you can exclude Model Info from the difference result by filtering the block name of the Model Info block.
I created a filter setting called eliminate_modelinfo.xml and was able to exclude the Model Info block in the comparison between aaa.slx and bbb.slx.
Find more on Model Verification 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!