Ask about certain example in MATLAB documentation.

5 visualizaciones (últimos 30 días)
Nader Rihan
Nader Rihan el 16 de Nov. de 2021
Comentada: Nader Rihan el 17 de Nov. de 2021
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.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre WLAN Toolbox en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by