How can I use the unix command 'ln' in matlab to create an symbolic link?

2 visualizaciones (últimos 30 días)
How can I use the unix command 'ln' in matlab to create an symbolic link?
I would like to put this command into my script: ln -s /dev/ttyACM0 /dev/ttyS101
Any help is greatly appreciated.
- Kristine

Respuesta aceptada

Walter Roberson
Walter Roberson el 1 de Mzo. de 2016
system('ln -s /dev/ttyACM0 /dev/ttyS101')
  2 comentarios
Kristine
Kristine el 1 de Mzo. de 2016
Awesome, I tried using unix at first. Thank you!
Walter Roberson
Walter Roberson el 1 de Mzo. de 2016
unix() instead of system() should have worked as well.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by