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

1 visualizzazione (ultimi 30 giorni)
i want to convert my .mdl file to .xml. will you please suggest me ?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simulink Environment Customization in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by