System Commands
Interact programmatically with the operating system and the MATLAB® application
Functions
Settings
Topics
- Access and Modify Settings
Access and modify options for tools such as fonts and colors using settings.
- Create Custom Settings
Create custom settings to programmatically store and access data across sessions.
- Shell Escape Function Example
Call external programs by issuing operating system commands.
- Run External Commands, Scripts, and Programs
Use the
!
character to call an operating system command. Run UNIX programs off the system path. - Change Environment Variable for Shell Command
This example shows how to substitute a user-specified value for an environment variable value set by MATLAB when you call a function using the
system
command.