Error in MATLAB R2021a: Example Not Found in Specified Path

8 次查看(过去 30 天)
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."

回答(1 个)

Walter Roberson
Walter Roberson 2024-1-1

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by