Table of Contents
MeVisLab can be started with command-line options.
Windows: To start MeVisLab from the command line, enter the following:
Mevislab [OPTIONS] [networkfile].mlab [networkfile2].mlab ...Linux: To start MeVisLab from the command line, enter the following:
<mevislab installpath>/bin/Mevislab [OPTIONS] [networkfile].mlab [networkfile2].mlab ...To get a list of all available options, start MeVisLab with the
-help option. This will open a window with all available options.
Table 28.1. Command-Line Options
| Option | Meaning |
|---|---|
| Some of these options are not available when using the MeVisLabStarter executable on Windows; if required, use MeVisLab instead. | |
| -prefs FILE | Loads an additional .prefs file. |
| -ignoreprefs | Ignores all user .prefs files. |
| -ignoreuserpackagepath | Ignores the user package path. |
| -updateonly | Updates all required DLLs to run MeVisLab and quits. |
| -install | Creates required symlinks and MLabModules cache file and quits. |
| -unique | Runs a unique MeVisLab, does not try to use a running one. |
| -noide | Does not show the MeVisLab IDE. |
| -scan | Scans Modules directories for new files. |
| -noscan | Uses existing Modules cache files and does not scan Modules directories for new files. |
| -quick | Uses existing Modules cache files and does not check for any file changes (allows a very quick restart). |
| -diagnosis | Shows a diagnosis console while starting. |
| -logfile FILENAME | Sets the logfile. Overwrites any logfile from the .prefs file and the registry. |
| -userscript FILENAME [arg1 arg2....] | Runs the given user script (see Section 4.8, “User Scripts”). Instead of the filename, the name of the Action can also be given. |
| -runmacro MACRONAME arg1 arg2.... | Runs a macro by calling its consoleCommand (requires a license with 'cmdline' feature). |
| -runapp APPNAME arg1 arg2.... | Runs a MeVisLab application, passing arguments to its runApplicationCommand, and opening the application's window afterward (requires a license with 'cmdline' feature). |
| -runappbatch APPNAME arg1 arg2.... | Like -runapp, but does not open the application window and exits after the execution of runApplicationCommand in conjunction with the -noide option. |
| -appname APPNAME | Specifies the application name that is used when accessing registry keys and settings. |
| -showfullscreen | Shows the application's window fullscreen. |
| -showmaximized | Shows the application's window maximized. |
| -help | Shows all available command line options. |
| -nosplash | Does not show MeVisLab's splash screen. |
| -nowelcome | Does not show MeVisLab's Welcome screen (debugging option). |
| -singleinstance | Only allows one MeVisLab instance to be started and passes the files of the command line to another running MeVisLab (debugging option). |
| -noninteractive | Prints error messages instead of showing error dialogs. |
| -hide-diagnostic-mevislab-messages | Prevents MeVisLab from printing diagnostic messages like “Loading package MeVisLab/IDE (Installed) from ...”. |
| -show-diagnostic-mevislab-messages | Tells MeVisLab to print diagnostic messages like “Loading package MeVisLab/IDE (Installed) from ...”. |
| -disable-logging-timestamp | Prevents MeVisLab from printing the timestamp when logging output. |
| -enable-logging-timestamp | Tells MeVisLab to print the timestamp when logging output. |
| -exec EXECUTABLE arg1 arg2... --- | Runs the given executable with the given arguments on startup of MeVisLab. The |
| -v/-version/--version | Prints the version of MeVisLab. |
© 2025 MeVis Medical Solutions AG