matlab中有控制电脑关机的命令吗
2个回答
展开全部
运行完毕自动保存? save就可以了 对应的变量值 或者图形
自动关机?调用dos的命令就可以了
例如dos的 ping 命令
>> dos('ping www.baidu.com')
Pinging www.a.shifen.com [220.181.6.19] with 32 bytes of data:
Reply from 220.181.6.19: bytes=32 time=53ms TTL=55
Reply from 220.181.6.19: bytes=32 time=46ms TTL=55
Reply from 220.181.6.19: bytes=32 time=45ms TTL=55
Request timed out.
Ping statistics for 220.181.6.19:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 45ms, Maximum = 53ms, Average = 48ms
自动关机?调用dos的命令就可以了
例如dos的 ping 命令
>> dos('ping www.baidu.com')
Pinging www.a.shifen.com [220.181.6.19] with 32 bytes of data:
Reply from 220.181.6.19: bytes=32 time=53ms TTL=55
Reply from 220.181.6.19: bytes=32 time=46ms TTL=55
Reply from 220.181.6.19: bytes=32 time=45ms TTL=55
Request timed out.
Ping statistics for 220.181.6.19:
Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),
Approximate round trip times in milli-seconds:
Minimum = 45ms, Maximum = 53ms, Average = 48ms
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询