Can't open an example in matlab?Error using exampleUti​ls.compone​ntExamples​Dir (line 13) Invalid argument "stateflow". Error in findExample (line 18) componentExamplesDir = exampleUti​ls.compone​ntExamples​Dir(compon​ent); Error in openExample (line

I can not open examples which are linked in :https://www.mathworks.com/help/stateflow/ug/programming-your-chart-with-matlab-syntax.html
for example it says : Run openExample('stateflow/AssemblyLineFeederExample') in the MATLAB Command Window, but when I do it, matlab can't open it and the following error apears:
Error using exampleUtils.componentExamplesDir (line 13) Invalid argument "stateflow". Error in findExample (line 18) componentExamplesDir = exampleUtils.componentExamplesDir(component); Error in openExample (line

回答 (1 件)

Matthew Kenigsberg
Matthew Kenigsberg 2020 年 9 月 7 日
Got this when stateflow wasn't installed; rerunning the installer with stateflow selected fixed it.

カテゴリ

タグ

質問済み:

2020 年 6 月 1 日

回答済み:

2020 年 9 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by