Initializing help system before first use

Instance control parameters

Mosel instance control parameters are either defined at the instance level or they apply to a specific model (see setcontrol). Some of the parameters serve for changing the behaviour of other commands, others provide a means to execute some specific command.

The supported instance parameters are:

  • zerotol (real,instance): set the zero tolerance used for comparison and displaying real numbers (i.e. a real number smaller than the tolerance is treated as 0)
  • realfmt (string,instance): set the C-format used to display reals
  • flushdso (none,instance): unloads unused modules (i.e. calls XPRMflushdso)
  • lang (string,instance): set the language of the instance
  • defaultnode (integer,instance): set the default node number used by the "rmt:" IO driver when it is used without node reference (see Section Driver rmt)
  • runmode (int,model): set the execution mode of a model (cannot be changed during the execution of the model):
    • 0: default
    • 1: debug
    • 2: profile
  • dbgctrl (string,model): send a command to the debugger (model must be running in debug mode). See Section Debugger interface
  • dbgbrksub (int,model): toggle breaksub mode during a debugging session (default is 0)
  • sdmax (int,instance): set the maximum depth of a call stack dump (default is 0)