Real-Time Workshop    

Solver Options

Solver Type.   If you are using an S-function or Rapid Simulation (RSIM) target, you can specify either a fixed-step or a variable-step solver.

Mode.   Real-Time Workshop supports both single- and multitasking modes. See Models with Multiple Sample Rates for full details.

Start and Stop Times.   The stop time must be greater than or equal to the start time. If the stop time is zero, or if the total simulation time (Stop - Start) is less than zero, the generated program runs for one step. If the stop time is set to inf, the generated program runs indefinitely.

Note that when using the GRT or Tornado targets, you can override the stop time when running a generated program from the DOS or UNIX command line. To override the stop time that was set during code generation, use the -tf switch.

The program will run for n seconds. If n = inf, the program will run indefinitely. See Part 3: Running the External Mode Target Program of the Real-Time Workshop Getting Started Guide for an example of the use of this option.


  Simulation Parameters and Code Generation Workspace I/O Options and Data Logging