You can export a Simulink® Real-Time™ Explorer configuration as a standalone executable to run outside MATLAB® on a computer compatible with Windows®.
Before exporting a Simulink Real-Time Explorer configuration, set up the execution environment, signal and parameter groups, and panels. Lay out the windows the way that you want them in the standalone executable. Follow these guidelines:
For each computer on which you intend to run the standalone Simulink Real-Time Explorer executable:
Check that the candidate computer is compatible with 64-bit Windows.
Check that the CPU and operating system meet the requirements for executing the standalone Simulink Real-Time Explorer executable.
Check that Microsoft® .NET Framework 4.5 is installed on the candidate computer.
For each target computer on which you intend to run the real-time application:
Check that the target computer meets the requirements for running the real-time application.
In Simulink Real-Time Explorer, configure the target and communication settings to connect each computer that is compatible with Windows to each target computer.
You can have only one target computer node for each unique IP address setting.
Configure the Boot mode setting
for each target computer as
Optionally, rename the target computer session from
something more specific to your system.
As a test, build and download a real-time application to each target computer connected to the development computer running Simulink Real-Time Explorer.
The real-time application on the target computer is the same application that you intend to access with the standalone executable.
To access signals, add them from the model hierarchy to a signal group.
To include a signal group in the standalone package, load it into the current session.
To access parameters, add them from the model hierarchy to a parameter group.
To include a parameter in the standalone package, load it into the current session.
To interact with multiple target computers, create a separate instrument panel for each separate real-time application and target computer pair.
To include an instrument panel in the standalone package, load it into the current Simulink Real-Time Explorer session.
If you renamed the target computer, update the TargetName parameter for each instrument to maintain the connection to the real-time application.
You can configure which windows the software opens on startup by opening the windows and arranging them accordingly. When you export the model configuration, the software includes the windows layout in the standalone package.
To return to the initial standalone executable layout, click File > Restore Initial View.
When you export Simulink Real-Time Explorer as a standalone executable, it supports a subset of the capabilities that it supports under MATLAB.
You cannot change the communication parameters that the interface uses to communicate with the target computers. Before you export the Simulink Real-Time Explorer configuration, configure and test the communication parameters for each target computer.
For each instrument, the exporting software records the real-time application and target computer environment with which it is associated.
If you rename a target computer, to maintain the connection to the real-time application, update the TargetName parameter for each associated instrument.
You cannot load or unload a real-time application from the standalone executable. Before you start the executable, start the real-time application on the target computer.
You can access only instrument panels and windows that you loaded before you exported the configuration.
You cannot access the real-time application model hierarchy from the standalone executable.
You can access only signals in signal groups that you loaded before you exported the configuration.
You cannot move a signal from one signal group to another group, or create or load a new signal group.
You can access only parameters in parameter groups that you loaded before you exported the configuration.
You cannot move a parameter from one parameter group to another group, or create or load a new parameter group.
You cannot save session layouts. If you close a window, you can restore the original layout using File > Restore Original View.