I understand that you wish to scan all nearby access points using WLAN Toolbox and get values for different properties like SSID.
Please refer the following link to the “WLAN Beacon Receiver Using Software-Defined Radio” example. This example demonstrate how to use WLAN Toolbox to retrieve information about Wi-Fi networks on either 2.4 GHz or 5 GHz band using a software-defined radio (SDR): https://www.mathworks.com/help/wlan/ug/ofdm-beacon-receiver-using-software-defined-radio.html#SDRBeaconReceiverExample-5
I hope this helps!
Regards
Arun