is it built in function or a structure ?

This is from the matalb documentation of reconfigurable intelligent surfaces. helperRISSurface is function or a structure ? how can i pass parameters?
i tried to rum this and i am getting error here. i have uploaded the screenshots
kindly help me
thank you.
=========================================================================
ris = helperRISSurface('Size',[Nr Nc],'ElementSpacing',[dr dc],...
'ReflectorElement',phased.IsotropicAntennaElement,'OperatingFrequency',fc)
ris =
helperRISSurface with properties:
ReflectorElement: [1x1 phased.IsotropicAntennaElement]
Size: [10 20]
ElementSpacing: [0.0054 0.0054]
OperatingFrequency: 2.8000e+10
=====================================================================

 Respuesta aceptada

Cris LaPierre
Cris LaPierre el 12 de Feb. de 2024

2 votos

It is a helper function that is included with this example. On the upper right corner of the example page, use the 'Open in MATLAB Online' or copy and run the 'Copy Command' in your MATLAB Command window to download the example and supporting files to your MATLAB Instance.

16 comentarios

Walter Roberson
Walter Roberson el 12 de Feb. de 2024
Note that if you are running a version earlier than R2023b then the example does not exist.
Salem Almezoge
Salem Almezoge el 24 de Feb. de 2024
can you help me to get the folders
I don't know how
If you are running R2023a or earlier, the example does not exist.
If you are running R2023b or later, then
openExample('phased/IntroductionToRISExample')
should work. There is, however, the possibility that you need to install documentational locally; see https://www.mathworks.com/help/install/ug/install-documentation-using-internet-connection.html
Cris LaPierre
Cris LaPierre el 25 de Feb. de 2024
If you install the documentation locally, you can only access examples for products you have installed. If you use the online documenation, you can access any example.
The openExample workflow will download the example files to a local folder.
If you do not have version R2023b or newer installed but have access to MATLAB Online, use the Open in MATLAB Online option. It is always on the latest version. That wlil add the files to you MATLAB Drive.
Walter Roberson
Walter Roberson el 25 de Feb. de 2024
The openExample workflow will download the example files to a local folder.
... In theory. In practice, it sometimes messes up fetching some of the files from the server.
Salem Almezoge
Salem Almezoge el 25 de Feb. de 2024
This error appears when I try to run it
and I cannot add it to online Matlab
Walter Roberson
Walter Roberson el 25 de Feb. de 2024
You need a license for the Phased Array System Toolbox.
Salem Almezoge
Salem Almezoge el 25 de Feb. de 2024
How do I get a license?
Walter Roberson
Walter Roberson el 25 de Feb. de 2024
Click on the "Learn how to get this product" and follow the instructions there?
You might need to purchase a license for the product.
Salem Almezoge
Salem Almezoge el 25 de Feb. de 2024
thank you
and this error?
Cris LaPierre
Cris LaPierre el 26 de Feb. de 2024
I can't duplicate. What version of MATLAB are you using?
Salem Almezoge
Salem Almezoge el 27 de Feb. de 2024
I have matlab 2023a I can ran this example?
Cris LaPierre
Cris LaPierre el 27 de Feb. de 2024
As Walter pointed out, this example was introduced in R2023b. You will need that version of MATLAB to access it using the openExample command.
However, I don't see anything in the code that would prevent it from running in R2023a.
Nader Rihan
Nader Rihan el 2 de Jun. de 2024
Hi Cris,
I want to draw the pattern of this ris. How can I do that?.
Cris LaPierre
Cris LaPierre el 4 de Jun. de 2024
Please clarify what 'this ris' is.
Walter Roberson
Walter Roberson el 5 de Jun. de 2024
I suspect that "this ris" refers to the variable "ris" returned from helperRISSurface()

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 12 de Feb. de 2024

Comentada:

el 5 de Jun. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by