How to login to a telnet session with Matlab.
7 views (last 30 days)
Show older comments
Hi, I am new to Matlab. I am trying to access a TCPIP connection for data. First I need to login to an IP nad port, then I need to type "LOGIN" to get the data going which is my problem.
I can make the tcpobject and I have tried fprintf(t, 'LOGIN') to type it in, but it does not work. I have tried the fwrite function without success.
Thank you.
2 Comments
Walter Roberson
on 9 Sep 2019
fwrite(t, 'LOGIN\n')
However, I would recommend that you use ssh() instead of tcpip() if you can.
Answers (0)
See Also
Categories
Find more on Software Development Tools in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!