Auto connect to a wifi module from matlab?

So I have a wifi module that uses a static IP address to connect to matlab using the TCP/IP toolbox. However it is desirable for the wifi module to use a dynamic IP because often the static IP it uses gets taken by the network i connect to. In matlab you have to specify the IP you want to connect to using TCP/IP command. I m wondering are there any tools available that allow you to identify the dynamic IP of the wifi module and then set that as the IP in the TCP/IP command. This would mean i wouldn't have to change the IP on the wifi module every time it gets taken up. It seems that most of what you can do with TCP/IP is after its connected. In windows you can use the arp -a command to see all the ip addresses of connected devices on the network your machine is connected to. This also gives their mac addresses. So if i know the mac address of the wifi module can i get its ip before connecting?

댓글 수: 2

Which wifi module are you using? Is the connection successful? Like, can you read the data from the module in matlab?
Ronan
Ronan 2018년 2월 11일
This question was asked 3 years ago. Not sure why its still up for answering. The date says 30th Sep 2015. I v moved on a bit since then.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Instrument Control Toolbox에 대해 자세히 알아보기

질문:

2015년 9월 30일

댓글:

2018년 2월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by