Table of Contents
It is possible to start MeVisLab with command-line options.
Windows: To start MeVisLab from the command line, enter:
MevislabStarter [OPTIONS] [networkfile].mlab [networkfile2].mlab ...
Mac OS X: To start MeVisLab from the command line, execute the MeVisLab binary from within the Contents/MacOS application bundle directory:
MeVisLab.app/Contents/MacOS/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
|Some of these options are not available when using the MeVisLabStarter executable on Windows, if required, use MeVisLab instead.
|Loads an additional .prefs file.
|Ignores all user prefs files.
|Ignores the user package path.
|Updates all required DLLs to run MeVisLab and quits.
|Creates required symlinks and MLabModules cache file and quits.
|-unique (macOS only)
|Runs a unique MeVisLab, does not try to use a running one.
|Does not show the MeVisLab IDE.
|Scans Modules directories for new files.
|Uses existing Modules cache files and does not scan Modules directories for new files.
|Uses existing Modules cache files and does not check for any file changes (allows very quick restart).
|Shows a diagnosis console while starting.
|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.
|Specifies the application name that is used when accessing registry keys and settings.
|Shows application fullscreen.
|Shows application maximized.
|Shows all available command line options.
|Does not show the MeVisLab splash screen.
|Does not show the MeVisLab Welcome screen (debugging option).
|Only allows one MeVisLab instance to be started and passes the files of the command line to another running MeVisLab (debugging option).
|Prints error messages instead of showing error dialogs.
|Prevents MeVisLab from printing diagnostic messages like “Loading package MeVisLab/IDE (Installed) from ...”.
|Tells MeVisLab to print diagnostic messages like “Loading package MeVisLab/IDE (Installed) from ...”.
|Prevents MeVisLab from printing the timestamp when logging output.
|Tells MeVisLab to print the timestamp when logging output.
|-exec EXECUTABLE arg1 arg2... ---
Runs the given executable with given args on startup of MeVisLab.
|prints the version
© 2023 MeVis Medical Solutions AG