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

5 ビュー (過去 30 日間)
Kristine
Kristine 2016 年 3 月 1 日
コメント済み: Walter Roberson 2016 年 3 月 1 日
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 Center および File ExchangeFile Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by