Clear Filters
Clear Filters

Ask about certain example in MATLAB documentation.

6 views (last 30 days)
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:
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.

Accepted Answer

Cris LaPierre
Cris LaPierre on 16 Nov 2021
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.
Cris LaPierre
Cris LaPierre on 17 Nov 2021
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 on 17 Nov 2021
I'm installing now MATLAB 2021b.
Thanks for your respected time, thanks Cris.

Sign in to comment.

More Answers (0)


Find more on WLAN Toolbox in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!