Contents Previous Next Subchapters

Starting Another Process
Syntax system(program)
system(
programwindow style)
See Also system functions

Description
Starts the specified program as a separate process, where program is a character row vector that contains the name of a program followed by the command line arguments to the program.

If present, the character row vector window style controls how the program is initially displayed and has one of the following values:
value meaning
"hide" hidden from the user
"maximized" uses the full display
"normal" normal display mode
"iconic" display as an icon
If window style is not present, the default style "normal" is used.

Example
If you enter
     program = "notepad.exe"
     style   = "normal"
     system(program, style)
the Notepad program will be started and displayed in normal mode.