Next: The Save Window
Up: Attributes of Interface Windows
Previous: The Parser Window
Contents
The C Code Window
Figure 2.4:
The C Code window.
 |
- Window title:
- DsTool: Dynamical system C code
- Function:
- The C Code window allows the user to edit, save or load
automatically generated C code.
- Description:
- The C Code window is opened by selecting the Write C Code command/window button
located in the Parser window. The user can inspect the C code which has been generated
by the Parser, edit it, and save it to a file. In addition, C code can be loaded from
previously generated model files.
- Panel items:
-
- Directory read-write text field:
Displays the currently selected directory which DsTool will use to save to or read
from. The default is the string in the Directory text field of the Parser window.
- Filename read-write text field:
Displays the currently selected filename which to write to or read from. This
should be a single word
of no more than 30 characters followed by the standard ``.c'' suffix.
The default string is ``pmodel_def.c''.
- C code definition text pane:
Displays the C code for the dynamical system. See section 3.1.6
for information on how the C code was generated.
- Load window button:
Opens and brings to the foreground the Files window for loading C code datafiles.
- Save window button:
Opens and brings to the foreground the Files window for saving the C code datafile.
- Clear command button:
Clears the C code definition text pane.
- Dismiss command button:
Closes the C Code window.
Next: The Save Window
Up: Attributes of Interface Windows
Previous: The Parser Window
Contents
2005-10-26