About "system()" command in matlab

Hello, When I use "system()" command in matlab, it runs only the files in "Matlab/bin/" directory. But I want to run a file which is on desktop or in any other specific folder. How can I do that? Thanks..

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 2 月 27 日

0 投票

folder='E:\matlab'
app='your_app'
system(fullfile(folder,app))

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

質問済み:

2014 年 2 月 27 日

コメント済み:

2014 年 2 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by