WLAN toolbox example error

3 次查看(过去 30 天)
Hello All,
I tried to run an example of WLAN toolbox application but i got an error on the channel set up.
Code:
nodes = [accessPoint station];
hCheckWLANNodesConfiguration(nodes)
associateStations(accessPoint,station,FullBufferTraffic="on");
channel = hSLSTGaxMultiFrequencySystemChannel(nodes);
Error:
Unable to resolve the name 'hSLSTGaxSystemChannel.empty'.
Error in hSLSTGaxMultiFrequencySystemChannel (line 139)
obj.Channels = hSLSTGaxSystemChannel.empty(1,0);
Please any help on how to fix this issue.
Many thanks,
Robert
  4 个评论
Torsten
Torsten 2024-1-9
编辑:Torsten 2024-1-9
I'm quite sure that an actual example for the WLAN toolbox won't run under MATLAB R2003b.
Remember: 20 years old without changes ? Unbelievable.
But the documentation of the example should mention which MATLAB and Toolbox release is necessary.
Robert Bellido
Robert Bellido 2024-1-9
I will contact Matlab support to clarify the Matlab version required for this WLAN example.
Thanks again for your feedback!

请先登录,再进行评论。

采纳的回答

Anjaneyulu Bairi
Anjaneyulu Bairi 2024-1-14
Hi,
I understand that you are facing an issue while running the example from "WLAN toolbox" documentation. It was introduced in R2015b and please ensure that you are running the code on R2015b or above versions of MATLAB with WLAN toolbox installed on MATLAB.
You can refer below documentation for more information on WLAN toolbox.
https://in.mathworks.com/help/pdf_doc/wlan/wlan_ref.pdf (Here you can see the revision history)
Hope it helps to resolve your query.
  1 个评论
Robert Bellido
Robert Bellido 2024-1-16
Hi,
The problem was that the example requires to add the class path, for the helper functions, inside my script, addpath("...wlan/WLANSystemLevelSimulationExample"). After that it worked.
Many thanks for your help

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 WLAN Toolbox 的更多信息

标签

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by