how to find differences in two simulink configuration settings using m-script
Mostra commenti meno recenti
Hello,
I am comparing two simulink configuration settings using visdiff command. here is my code:
Simulink.BlockDiagram.saveActiveConfigSet(bdroot, 'active_config')
visdiff('active_config', 'standard_config')
when I type visdiff, its giving comparision report.
But what I need is, If I find any difference between config then I should say different configuation is active else its fine. This should be done using m-script.
3 Commenti
Jakob Janecek
il 20 Mag 2015
I would just like to clarify what you are after. Would you like a function that compares config sets (or any variables) and just returns same/not-same as a result?
For example something like:
result = areSame('active_config', 'standard_config');
where the result is true or false?
If my understanding of your requirement is correct then there is no API to do this at the moment.
Jakob Janecek
il 20 Mag 2015
Thank you for clarifying the issue. Unfortunately there is no API available that makes this possible at the moment. The only way to view differences is, as you have already identified, to run visdiff which generates a comparison report.
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Matrix Indexing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!