Table of Contents
It is possible to start MeVisLab with command-line options.
Windows: To start MeVisLab from the command line, enter:
Mevislab [OPTIONS] [networkfile].mlab [networkfile2].mlab ...
Linux: To start MeVisLab from the command line, enter:
<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 commands.
Table 27.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 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 showing the apps window afterwards (requires a license with 'cmdline' feature). |
-runappbatch APPNAME arg1 arg2.... | Like -runapp, but does not start the application window and exists after 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 application fullscreen. |
-showmaximized | Shows application maximized. |
-help | Shows all available command line options. |
-nosplash | Does not show the MeVisLab splash screen. |
-nowelcome | Does not show the MeVisLab 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 given args on startup of MeVisLab. The |
-v/-version/--version | prints the version |
© 2024 MeVis Medical Solutions AG