XML schema for Stateflow

조회 수: 9 (최근 30일)
Pavla
Pavla 2014년 8월 14일
댓글: Yamen 2021년 9월 6일
I would like to be able to check if XML file is valid Stateflow. Where can I find some XML schema?
  댓글 수: 1
Yamen
Yamen 2021년 9월 3일
편집: Yamen 2021년 9월 6일
@Pavla, here is how you can export the model to XML format:
save_system('mymodel','exportfile.xml','ExportToXML',true)

댓글을 달려면 로그인하십시오.

채택된 답변

Joachim Schlosser
Joachim Schlosser 2014년 8월 19일
Stateflow's model format is readable, but not open. You should not need to directly read or write SLX model files, as this format may change without prior notice. If you want to modify your Simulink or Stateflow models, please use the Simulink model API as referred in the documentation.
What do you want to achieve?
  댓글 수: 4
Joachim Schlosser
Joachim Schlosser 2021년 9월 3일
If you cannot find the API doc via search in either Google Robin the doc site, I recommend to refrain using Simulink programmatically.
Yamen
Yamen 2021년 9월 6일
i need to use simulink programmatically to automate the re-creation of test harness with test sequence source that was originally created manually .
I have about 50 test harness that need to be recreated for a different version component (same component as in origianl model with the harness, but different interfaces)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Decision Logic에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by