Ask about certain example in MATLAB documentation.

조회 수: 13 (최근 30일)
Nader Rihan
Nader Rihan 2021년 11월 16일
댓글: Nader Rihan 2021년 11월 17일
I want to do this example regarding indoor positioning by MATLAB:
I have two issues:
1- when I copied the written commands, it gives error. For example, if I copy just the first two commands in the page provided in the above link:
mapFileName = "office.stl";
viewer = siteviewer("SceneModel",mapFileName,"Transparency",0.25);
This error appears:
Error using siteviewer (line 229)
'SceneModel' is not a recognized parameter. For a list of valid name-value pair
arguments, see the documentation for this function.
Error in Indoor_testing_MALTABpage (line 5)
viewer = siteviewer("SceneModel",mapFileName,"Transparency",0.25);
2- In the above link, MATLAB allows copying the command that runs the whole example, but when I copy the command:
openExample('wlan/PositioningWith80211azFingerprintingAndDeepLearningExample')
This error appears:
Error using findExample (line 35)
Example "PositioningWith80211azFingerprintingAndDeepLearningExample" not found
in "C:\Program Files\MATLAB\R2020b\examples\wlan\examples.xml".
Error in openExample (line 30)
metadata = findExample(exampleId);
Please help, if possible.

채택된 답변

Cris LaPierre
Cris LaPierre 2021년 11월 16일
That example was designed for MATLAB R2021b. Some of the options used do not exist in previous versions of MATLAB.
This example was first introduced in R2021a. This is why the MATLAB command to open the example is failing in your version of MATLAB. The example did not yet exist.
If possible, consider updating your MATLAB version to R2021b.
  댓글 수: 5
Cris LaPierre
Cris LaPierre 2021년 11월 17일
There is no link to send. However, if you navigate to your matlab root folder (use matlabroot to determine) in your file explorer, you can search for *.stl. The results will vary based on what toolboxes you have installed.
On my system, it found 208 files spread across the pde, robotics, physmod, antenna, and control toolboxes. I don't have the WLAN or Communications toolboxes installed.
Nader Rihan
Nader Rihan 2021년 11월 17일
I'm installing now MATLAB 2021b.
Thanks for your respected time, thanks Cris.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 WLAN Toolbox에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by