How to convert Simulink model into XML file ?
48 次查看(过去 30 天)
显示 更早的评论
I tried following.
>> sys='Example'; % Model name is Example
>> save_system(sys, 'exported_file_name.xml', 'ExportToXML', true)
I am getting following error.
Error using save_system (line 38)
Invalid Simulink object name: Example
0 个评论
回答(2 个)
hao wang
2019-12-17
oh,I am getting following warning.
warning: The 'ExportToXML' option is no longer supported and will be removed in a future release.
How can I do?
2 个评论
Abdulkadir Eroglu
2020-7-21
Me too, waiting for an answer here... Though i have read in this article that slx is based on opc open package convention:
not sure if it helps solve the problem though...
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!