Clear Filters
Clear Filters

Error in MATLAB R2021a: Example Not Found in Specified Path

8 views (last 30 days)
Hello,
I'm currently using MATLAB R2021a, and when I attempt to run a MATLAB example with the following command:
```matlab
openExample('nav/SampleSE2StateSpaceUsingGaussianStateSamplerExample')
```
I encounter an error:
```
Error using findExample (line 35)
Example "SampleSE2StateSpaceUsingGaussianStateSamplerExample" not found in "C:\Program
Files\Polyspace\R2021a\examples\nav\examples.xml".
Error in openExample (line 30)
metadata = findExample(exampleId);
Error in Untitled2 (line 1)
openExample('nav/SampleSE2StateSpaceUsingGaussianStateSamplerExample')
```
It appears that the specified example "SampleSE2StateSpaceUsingGaussianStateSamplerExample" is not present in the specified path "C:\Program Files\Polyspace\R2021a\examples\nav\examples.xml."

Answers (1)

Walter Roberson
Walter Roberson on 1 Jan 2024

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!