在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
复制粘贴于http://www.matlabsky.com/thread-28597-1-1.html 1 [s, r]=system('ipconfig') 2 % r=regexp(r,'IP Address. . . . . . . . . . . . : \d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}','match') 3 r=regexp(r,'IPv4 地址 . . . . . . . . . . . . : \d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}','match'); 4 r=r{1} 5 r=regexp(r,'\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}','match') 6 lip=r{1} 7 disp(['本机IP为:',lip]) write by xdd 2019-08-07 15:02:17
|
2022-08-15
2022-08-17
2022-09-23
2023-10-27
2022-08-18
请发表评论