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
=====================================================================

 채택된 답변

Cris LaPierre
Cris LaPierre 2024년 2월 12일

2 개 추천

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

Walter Roberson
Walter Roberson 2024년 2월 12일
Note that if you are running a version earlier than R2023b then the example does not exist.
Salem Almezoge
Salem Almezoge 2024년 2월 24일
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 2024년 2월 25일
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 2024년 2월 25일
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 2024년 2월 25일
This error appears when I try to run it
and I cannot add it to online Matlab
Walter Roberson
Walter Roberson 2024년 2월 25일
You need a license for the Phased Array System Toolbox.
Salem Almezoge
Salem Almezoge 2024년 2월 25일
How do I get a license?
Walter Roberson
Walter Roberson 2024년 2월 25일
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 2024년 2월 25일
thank you
and this error?
Cris LaPierre
Cris LaPierre 2024년 2월 26일
I can't duplicate. What version of MATLAB are you using?
Salem Almezoge
Salem Almezoge 2024년 2월 27일
I have matlab 2023a I can ran this example?
Cris LaPierre
Cris LaPierre 2024년 2월 27일
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 2024년 6월 2일
Hi Cris,
I want to draw the pattern of this ris. How can I do that?.
Cris LaPierre
Cris LaPierre 2024년 6월 4일
Please clarify what 'this ris' is.
I suspect that "this ris" refers to the variable "ris" returned from helperRISSurface()

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2024년 2월 12일

댓글:

2024년 6월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by