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
Show older comments
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
Answers (1)
Matthew Kenigsberg
on 7 Sep 2020
0 votes
Got this when stateflow wasn't installed; rerunning the installer with stateflow selected fixed it.
Categories
Find more on Naming Conventions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!