openExampl​e('px4/PX4​HITLSimula​tionFixedW​ingPlantSi​mulinkExam​ple')not working

6 次查看(过去 30 天)
I am trying to use the example which should open with:
openExample('px4/PX4HITLSimulationFixedWingPlantSimulinkExample')
But i'm getting the error:
Error in matlab.internal.examples.copyFromWeb (line 28)
result = websave(target, url, options);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.internal.examples.findExamplesXml (line 32)
found = matlab.internal.examples.copyFromWeb(component, '', 'examples.xml', examplesXml, false);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in findExample (line 14)
examplesXml = matlab.internal.examples.findExamplesXml(component,arg);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in openExample (line 32)
metadata = findExample(exampleId);
^^^^^^^^^^^^^^^^^^^^^^
I suspect the problem not actually being mine since i can run withuth problems other similar examples.
How can i get sure about?
  3 个评论
Gaurav
Gaurav 2024-12-1
Is there a work around for this like manually downloading the example or some other way because even i want to run the examples for px4?

请先登录,再进行评论。

回答(2 个)

Oliver Jaehrig
Oliver Jaehrig 2024-12-2
This is a known bug and the development team works on a fix. Maybe check again on Wednesday or Thursday.
Otherwise install the offline documentation in the meantime:

Hitesh
Hitesh 2024-12-2
Hi Fil_Bk,
I too encountered the same error while executing the example.The workaround that worked for me was switching to MATLAB R2024a. I was able to execute the example successfully using MATLAB R2024a.

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by