Command external app to save data

3 views (last 30 days)
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!

Accepted Answer

Pranav Verma
Pranav Verma on 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

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!