About "system()" command in matlab

2 次查看(过去 30 天)
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
folder='E:\matlab'
app='your_app'
system(fullfile(folder,app))

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by