It's time again for another release of Model RealTime! The new release is called 11.3 2023.19 and contains several interesting improvements. Let's take a look at some of them.
The Model Debugger now allows events to be sent to a capsule instance, for example by drag/drop from the Events view to the Debug view. A new dialog will then appear where you can select a port of the capsule to which the event will be sent. The dialog only shows ports that can receive the event, which helps a lot in case the capsule has a large number of ports. In case the port is replicated (i.e. has multiplicity > 1), the dialog also lets you specify the index of the target port. If you omit the index, the event will be broadcasted on all port indices.
A new preference and command-line argument for the Model Compiler is now available. It lets you configure which validation rules that should be enabled when the Model Compiler transforms a model to C++ code. You can also configure the severity (Error, Warning or Information) of the build message that is reported in case a validation rule detects a problem in the model. This feature is based on assigning a unique id for each validation rule and so far this has only been implemented for one specific validation rule. However, more will follow in the next release to make most Model Compiler validation rules fully configurable.
Model RealTime now supports VxWorks 7. A new target configuration is provided for building applications with the Clang compiler provided with VxWorks. Those applications can then be run on the VxWorks simulator on Windows. This target configuration serves as a template for other scenarios that involve running Model RealTime generated applications on the VxWorks RTOS.
Mattias Mohlin
Architect for HCL Model RealTime