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 Comments

Torsten
Torsten on 9 Jan 2024
Edited: Torsten on 9 Jan 2024
Are you sure the example should run under the MATLAB version you use ?
I am using the WLAN toolbox that is part of my R2003b Matlab. Also, I double checked this part with the command VER.
Thanks for your reply
Torsten
Torsten on 9 Jan 2024
Edited: Torsten on 9 Jan 2024
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.
I will contact Matlab support to clarify the Matlab version required for this WLAN example.
Thanks again for your feedback!

Sign in to comment.

 Accepted Answer

Anjaneyulu Bairi
Anjaneyulu Bairi on 14 Jan 2024
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 Comment

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

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2023b

Community Treasure Hunt

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

Start Hunting!