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

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

Accepted Answer

Preethi
Preethi on 30 Nov 2016
hi,
you can use save_system()
save_system('model.mdl', 'model_xml.xml','ExportToXML', true);
  4 Comments
chinna naidu
chinna naidu on 1 Dec 2016
Thank preethi its working. i got the xml file related to my model.
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)

Categories

Find more on Simulink Environment Customization in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!