Running bash commands in MATLAB command window

2 ビュー (過去 30 日間)
ANKUR KUMAR
ANKUR KUMAR 2018 年 4 月 16 日
編集済み: Jan 2018 年 4 月 16 日
Is there any way to run all linux commands in MATLAB.
I have installed few more programming language in linux.
Can I use that on matlab command window. I have tried using system([...]),
but it doesn't work.

回答 (1 件)

Jan
Jan 2018 年 4 月 16 日
編集済み: Jan 2018 年 4 月 16 日

system is the way to go. "It doesn't work" does not allow to understand, what you have done, what you see and what you want instead. Please explain the problem and your observations with more details.

But if system does not work, remember, that Matlab is Matlab, not a Linux shell. If you want a Linux shell, use the Linux shell. Trying to use Matlab as a general purpose GUI for all activities on the computer is not efficient.

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by