How can I import a model to simulink that was exported by save_system(sys, 'exported_​file_name.​xml', 'ExportToXML', true)?

조회 수: 15 (최근 30일)
I cannot find a way to get the simulink model back from the xml. Trying to open it just opens it as a standard xml-file in the editor.

채택된 답변

Aniruddha Katre
Aniruddha Katre 2017년 7월 22일
It is currently not possible to regenerate a generic Simulink model from an XML file. XML import to Simulink is only possible if you are trying to create a Simscape Multibody model from a CAD drawing. The function for that is smimport.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by