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..

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 27 de Feb. de 2014
folder='E:\matlab'
app='your_app'
system(fullfile(folder,app))

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 27 de Feb. de 2014

Comentada:

el 27 de Feb. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by