Provides a miniature IDE for building Simulink models on the real-time host for running during the third stage of the simulation test cycle. This is legacy support. The modern method of importing Simulink models is documented in Using SimWB Toolkit GUI in Simulink.
There are no Apply and Cancel buttons. Actions taken in this form take place on the real-time host immediately. It is essentially a remote-control for the compiler on the real-time host.
Expand All
Expands the hierarchy tree showing Real-Time Workbench Files on the real time host.
Collapse All
Collapses the hierarchy tree showing Real-Time Workbench Files on the real time host to only show the immediate children of the Real Time Workbench Files node.
Demonstrate
Opens a short video clip that demonstrates the basic workflow of this form.
Help
Opens this section of the manual.
Simulink Files Tree
Shows the Simulink source files present on the real-time host. Double clicking on a file will open it in the editor.
Create
Creates a folder on the real-time host under the selected folder in the Simulink Files tree. Enter a name for the folder in the text box, then press the Create button.
Edit
Opens the file selected in the User Program Files tree in the Editor tab. The editor will download the file from the real-time host to allow the user to edit it, then upload it back to the host when it is saved. Generally, MATLAB should be used to edit Simulink source files however.
Build
Generates C or C++ source from the selected .mdl file and compiles it to generate an executable.
Make C
Generates C or C++ source from the selected .mdl file.
Make Exe
Compiles the generated C or C++ source for the selected .mdl file.
Delete
Deletes the file or folder selected in the Real-Time Workbench Files tree.
See Upload Tab.
Settings that the last .mdl file selected in the Real-Time Workbench Files was built with. These settings are stored with the model when it is built. When a .mdl file is elected, the title of this tab changes to its name.
Files to Load in MATLAB
Initialization (.m) files to be loaded in MATLAB before generating the Simulink source files.
Remove
Removes a selected file from the Files to Load in MATLAB list.
Add
Adds an initialization (.m) file selected from the Simulink Files tree to the Files to Load in MATLAB list.
Selects the environment variable file to evaluate before building this model. This setting is applied when the model is built. See Environment Variables....
Fixed Step (μs)
“Mathematical” step size used by Simulink to compute the next state for those Simulink blocks whose outputs depend on the time step size (for example, a sine wave with a given frequency).
Language
Language to generate the source files in.
C API Signals
Maps outputs of Simulink blocks into the RTDB. This will slow the execution of the model.
Solver
Selects the solver to use for the integration blocks. TODO: can we say something less esoteric here?
Compiler Options
Additional options to pass to the compiler.
Linker Options
Additional options to pass to the linker.
Group
Selects the group that the Simulink model belongs to. Since Simulink source files (*.mdl and *.m files) are managed and edited by an external program (MATLAB), they do not belong to a group. Only the generated models belong to a group. It is not necessary to rebuild the model to change its group. An existing model is assigned to a new group when the Group setting is changed.
See Edit Tab.
See Make Output Tab.
Displays a list of all the Simulink models built on the real-time host.
Delete
Deletes the selected user program executable from the real-time host. User program executables are stored separately from the source files on the real-time host, unlike script executables which are stored in the directory with their source.