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

조회 수: 2 (최근 30일)
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

채택된 답변

Walter Roberson
Walter Roberson 2016년 3월 1일
system('ln -s /dev/ttyACM0 /dev/ttyS101')
  댓글 수: 2
Kristine
Kristine 2016년 3월 1일
Awesome, I tried using unix at first. Thank you!
Walter Roberson
Walter Roberson 2016년 3월 1일
unix() instead of system() should have worked as well.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by