Comparing two .SLX files without Report Generator Toolbox
3 views (last 30 days)
Show older comments
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!
0 Comments
Answers (1)
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.
0 Comments
See Also
Categories
Find more on Programmatic Model Editing 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!