A switch case statement that will help me to either run codeS in Windows or linux, based on whichever OS it is
Mostrar comentarios más antiguos
I want to write a switch case statement that will help me to either run my code in Windows or linux, based on whichever OS it is. Any Suggestions!
Respuesta aceptada
Más respuestas (1)
Bjorn Gustavsson
el 23 de Oct. de 2019
0 votos
Have a look at the commands: computer, ispc, insunix, ismac.
HTH
1 comentario
Sansit Das
el 23 de Oct. de 2019
Categorías
Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!