如何 MATLAB 中用一行指令或函数关闭 windows 操作系统?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 13 de Dic. de 2019
Respondida: MathWorks Support Team
el 13 de Dic. de 2019
我有一个程序需要跑很久,希望能在结束程序且保存结果后,自动关闭电脑。
Respuesta aceptada
MathWorks Support Team
el 14 de Dic. de 2019
可以使用:
>> system('shutdown -s')
需要注意的是,这行代码将必定造成电脑关闭,而没有最终确认界面。请一定确认您已经保存了所有数据。
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre MATLAB 代码分析 en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!