Connect to WiFi from within a Matlab script?

I'm working on a project controlled by a microcontroller (Texas Instruments CC3200-LaunchXL) that provides its own WiFi network. To visualise data I use UDP communication to send data to Matlab. It works fine. But for every test I need to manually disconnect from my regular WiFi, connect to the microcontroller's Wifi network, and reconnect to my regular WiFi after the test.
Is there a way to automate this and to configure WiFi settings from within Matlab (R2018a) using Windows 10?

2 Comments

You can system() to command utilities
https://m.windowscentral.com/how-manage-wireless-networks-using-command-prompt-windows-10
Thanks Walter. Works perfectly!

Sign in to comment.

Answers (0)

Categories

Products

Release

R2018a

Asked:

on 5 Dec 2018

Commented:

on 5 Dec 2018

Community Treasure Hunt

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

Start Hunting!