how can i generate .xml file to my simulink model...........?

4 views (last 30 days)
i want to convert my .mdl file to .xml. will you please suggest me ?

Accepted Answer

Preethi on 30 Nov 2016
you can use save_system()
save_system('model.mdl', 'model_xml.xml','ExportToXML', true);
chinna naidu
chinna naidu on 27 Mar 2017
preethi that time by using this command i did conversion to my model into xml . but this time i am getting erro. will you please tell me what may be the reason for getting error.

Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!