General Properties

Navigation:  »No topics above this level«

General Properties

Return to chapter overview

The general properties of 20-sim models are shown in the Options dialog.

From the Settings menu choose the Options command.
From the Tools menu choose the Options command.

Editor

Fonts: Enter the default fonts used in graphical models (Editor) and equation models (Equation Editor).
Syntax Highlighting Threshold: Select the number of characters that should be submitted for color syntax highlighting. If this number is too large, the editor may become very slow.
Submodel Colors: Check this option to turn Gradient Fill on. This option will apply a slight vertical gradient to all blocks with a background color.

Plots

You can choose the default settings for a simulation plot in this tab.

Default Line Thickness: Enter the default plot line thickness.

Folders

You can choose the location of libraries and files in the Folders tab.

Library Folders: Enter the library paths and corresponding library names here. The libraries are shown in the Library tab.
C-code Folders: C-code can be generated for various targets. For each target a file targets.ini defines how the C-code should be generated. You can enter the locations of ini-files here.
Matlab-Code folders: 20-sim models can be exported to Matlab. Similar to C-code generation, a file targets.ini defines how the code should be generated. You can enter the locations of ini-files here.
Model Template Folders: You can enter the location of model templates.
DLL Search Folders: If a 20-sim model is using a DLL-function that is stored on a different location from the model itself, you can enter the location here.

Scripting Server

20-sim uses the XML-RPC protocol to communicate with external software and run scripts. By default, 20-sim will only accept scripting connections from your local computer (Localhost only option is enabled by default). In most cases the default settings should be fine. However, for each of these protocols, settings may be changed. Ask your system administrator for details.

Scripting Client

You can enter specific settings for scripting with Matlab and Octave.

Matlab Session Type: 20-sim can communicated with Matlab through scripts and dedicated functions. A shared session will open one running version of Matlab (minimized window), that can be shared with running versions of 20-sim. A shared desktop session will open one running version of Matlab (fully opened), that can be shared with running versions of 20-sim. A dedicated session will open a new running version of Matlab for every running versions of 20-sim.
Octave Folder: Enter the path where Octave is installed.