Comparing two .SLX files without Report Generator Toolbox

7 views (last 30 days)
Hello! I used to be able to compare two simulink .mdl files using the simple text compare and could make sense of the differences. But now, with the new .slx format there is no way to compare them (except for binary!), without the Simulink Report Generator Toolbox. Does anyone know why Mathworks has done this really weird thing? Or am I missing something?
Thanks!

Answers (1)

goerk
goerk on 8 Oct 2015
Hi, I think with the binary files you can get a better performance, but I don't know all the reasons why they changed the file format.
If you don't want to use a special tool you can save the models as .mdl files and compare them on the text level. (use the SaveAs... dialog)
An other possible solution is the command:
save_system(sys, 'exported_file_name.xml', 'ExportToXML', true)
but I never used it.

Categories

Find more on Reporting and Database Access in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!