Error in MATLAB R2021a: Example Not Found in Specified Path

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."

Categories

Products

Release

R2021a

Asked:

on 1 Jan 2024

Answered:

on 1 Jan 2024

Community Treasure Hunt

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

Start Hunting!