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
=====================================================================
采纳的回答
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 个评论
Note that if you are running a version earlier than R2023b then the example does not exist.
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
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.
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.

This error appears when I try to run it

and I cannot add it to online Matlab
You need a license for the Phased Array System Toolbox.
How do I get a license?
Click on the "Learn how to get this product" and follow the instructions there?
You might need to purchase a license for the product.
thank you
and this error?

I can't duplicate. What version of MATLAB are you using?
I have matlab 2023a I can ran this example?
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.
Hi Cris,
I want to draw the pattern of this ris. How can I do that?.
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 的更多信息
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
- América Latina (Español)
- Canada (English)
- United States (English)
欧洲
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
