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 Exchange에서 Desktop에 대해 자세히 알아보기

질문:

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