Can't open an example in matlab?Error using exampleUtils.componentExamplesDir (line 13) Invalid argument "stateflow". Error in findExample (line 18) componentExamplesDir = exampleUtils.componentExamplesDir(component); 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
2020-9-7
0 个投票
Got this when stateflow wasn't installed; rerunning the installer with stateflow selected fixed it.
类别
在 帮助中心 和 File Exchange 中查找有关 Naming Conventions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!