Comparing two .SLX files without Report Generator Toolbox

3 Ansichten (letzte 30 Tage)
Vivek
Vivek am 8 Okt. 2015
Beantwortet: goerk am 8 Okt. 2015
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!

Antworten (1)

goerk
goerk am 8 Okt. 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.

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by