Bus Data Store Comparator as name suggests it compares two bus data stores (Simulink.bus) with a simple GUI which helps in selecting the files and display of results.
It extracts the bus elements information from each file i.e., Bus Element name, Data type and Dimensions which i thought are enough for the application i was working it can improved for other information also. It compares and display the result and saving the result into excel file is also provided.
Reason behind developing a tool:
When i was working for a project where multiple users are updating the same data store and configuring into repository, to check with the previous version of the data store it was difficult, developed this simple tool to compare the two files and it saved so much time and helped to maintain the correct and updated version of data store in
How to use it:
Execute BusDataStoreComparator.m, it will popup a simple gui
Select Left hand side file and Right hand side file (simulink.bus) of .mat exetension
Press 'Compare', once its complete status will be displayed to press 'Show Results', it will display the results in table format
Save is available if user wants to store the results into excel file.
press Back to return to main window
Few examples are also attached along with its reports.
Hope it helps someone, somewhere
Shashikiran Rajashekar (2023). BusDataStoreComparator (https://www.mathworks.com/matlabcentral/fileexchange/53190-busdatastorecomparator), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!