How to export Simulink models (with Stateflow components) to XML ?
Hello,
I would need to know how can I export Simulink models (and some of these latter may also have Stateflow components, such as State Charts etc.) to XML.
I have typed the following MATLAB commands:
modelName = ‘sf_aircraft’ % model of the name without extension
save_system(modelName, ‘xml_model.xml’, ‘ExportToXML’, true)
But I have the following warning :
Warning: The ‘ExportToXML’ option is no longer supported and will be removed in a future release.
And I have also noticed that in the XML file the State Chart component is just mentioned, so basically I cannot see what it contains from the XML file.
So what I would like to ask is if there are other functions or ways that allow Simulink models with State Charts components to be exported in a XML format.
Thanks in advance.Hello,
I would need to know how can I export Simulink models (and some of these latter may also have Stateflow components, such as State Charts etc.) to XML.
I have typed the following MATLAB commands:
modelName = ‘sf_aircraft’ % model of the name without extension
save_system(modelName, ‘xml_model.xml’, ‘ExportToXML’, true)
But I have the following warning :
Warning: The ‘ExportToXML’ option is no longer supported and will be removed in a future release.
And I have also noticed that in the XML file the State Chart component is just mentioned, so basically I cannot see what it contains from the XML file.
So what I would like to ask is if there are other functions or ways that allow Simulink models with State Charts components to be exported in a XML format.
Thanks in advance. Hello,
I would need to know how can I export Simulink models (and some of these latter may also have Stateflow components, such as State Charts etc.) to XML.
I have typed the following MATLAB commands:
modelName = ‘sf_aircraft’ % model of the name without extension
save_system(modelName, ‘xml_model.xml’, ‘ExportToXML’, true)
But I have the following warning :
Warning: The ‘ExportToXML’ option is no longer supported and will be removed in a future release.
And I have also noticed that in the XML file the State Chart component is just mentioned, so basically I cannot see what it contains from the XML file.
So what I would like to ask is if there are other functions or ways that allow Simulink models with State Charts components to be exported in a XML format.
Thanks in advance. simulink, stateflow, xml MATLAB Answers — New Questions









