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

카테고리

도움말 센터File Exchange에서 Function Creation에 대해 자세히 알아보기

제품

릴리스

R2021a

질문:

2024년 1월 1일

답변:

2024년 1월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by