Download Download
Transcript
from either the integrated modeling environment or the visual executable model itself. This functionality is available in all Rand Model Designer versions. Additionally, Rand Model Designer Corporate and Rand Model Designer Educational versions allow the user to build and save the executable model as a standalone executable that can be run separately from the integrated modeling environment. Furthermore, the project can be configured to produce the embeddable executable model instead of the visual one, see Section 3.8.3. The embeddable executable model is a Windows DLL that any software can link to in order to get programmatic access to the model. For more on executable models, see Chapter 4. To run the visual executable model: 1. Click Run model on the main toolbar, or Choose Model | Run from the main menu, or press <F9>. If the visual model was created earlier, the main window of visual model will appear, if not – the program code will be generated and compiled. If the compilation is successful, the main window of visual model is opened, if not - window appears with an error message. To terminate the visual executable model: 1. Click Stop model one the main toolbar, or Choose Model | Stop from the main menu, or press <Ctrl+F2>. The visual executable model will disappear. To build the standalone executable model (available in Rand Model Designer Corporate and Rand Model Designer Educational): on the main toolbar, or 1. Click Build model Choose Model | Build from the main menu, or press <Ctrl+F9>. If the compilation is successful, you see the "Successful compilation", Ошибка! Источник ссылки не найден., if not - window appears with an error message. 2. Click OK. To save the standalone executable model with a specific name and location (available in Rand Model Designer Corporate and Rand Model Designer Educational): 1. Choose Model | Save asI from the main menu. The Save model as dialog box will appear as shown in Figure 151. 143