XML schema for Stateflow

6 ビュー (過去 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 Center および File ExchangeDecision Logic についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by