- save model included stateflow chart.
- unzip the model.
- show stateflow.xml.
How to export Simulink models (with Stateflow components) to XML ?
3 views (last 30 days)
Show older comments
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.
1 Comment
Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!