Real-Time Workshop User's Guide | ![]() ![]() |
Parameters: Storage, Interfacing, and Tuning
Simulink external mode (see Chapter 5, External Mode) offers a quick and easy way to monitor signals and modify parameter values while generated model code executes. However, external mode may not be appropriate for your application in some cases. Some targets (such as the Real-Time Workshop Embedded Coder) do not support external mode. In other cases, you may want your existing code to access parameters and signals of a model directly, rather than using the external mode communications mechanism.
This section discusses how the Real-Time Workshop generates parameter storage declarations, and how you can generate the storage declarations you need to interface block parameters to your code.
![]() | Generating Code and Executables from Subsystems | Storage of Nontunable Parameters | ![]() |