Command external app to save data

3 visualizzazioni (ultimi 30 giorni)
Munir Baldomero
Munir Baldomero il 13 Mar 2021
Risposto: Pranav Verma il 16 Mar 2021
How can I use system function or are there other function in matlab that can command an external app to save the data into a specific file type and folder? Thank you!

Risposta accettata

Pranav Verma
Pranav Verma il 16 Mar 2021
Hi Munir,
The MATLAB system command is used to run the operating system commands from within the MATLAB command line and return the output. You can pass the OS command that you want to execute to the system command and get the output stored in a variable.
Other way of running commands is using the '!' operator. You can type the OS command that you want to run and prefix the whole command with '!' operator.
Please refer to the this link for getting more information on using 'system' and '!'.
Thanks

Più risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by