Comparing two .SLX files without Report Generator Toolbox

7 次查看(过去 30 天)
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!

回答(1 个)

goerk
goerk 2015-10-8
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.

类别

Help CenterFile Exchange 中查找有关 Reporting and Database Access 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by